Time Machine debugging feature

Why doesn't this function work for the section of code found in init ?? I try to record the program operation from the beginning - but recording does not start until the program finishes the init () section.