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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to