[fpc-devel] fpc_check_object and friends

Adriaan van Os fpc at microbizz.nl
Wed Oct 13 15:28:21 CEST 2010


Building the freepascal rtl with debug info is, I feel, helpful when debugging application 
software. On the other hand, when debugging, stepping into object methods becomes rather annoying, 
as stepping into an object method steps into fpc_check_object first (unless the application was 
built with -CR-).

So, as a solution, I suggest an rtl conditional that disables the debug info of a small number of 
key compiler routines, like fpc_check_object and, for example the compiler glue for ansistrings. 
This implies putting those routines in a separate unit as $debuginfo is (as of now) a global option.

Unless, of course, there is a better solution.

Regards,

Adriaan van Os



More information about the fpc-devel mailing list