Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-10

fpc_check_object and friends

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adriaan van Os

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

Reply by email