Sign in Join

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

Mailing lists / fpc-devel / 2009-12

debugging the RTL (system unit)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Tomas Hajny
to ik
ik wrote
Hello, How I can debug problems with the system and rtl in general for the reason my code crashes before it execute my own code ?

You can certainly build the RTL with debug information (I believe that "make debug" in the RTL directory should do that) and then make sure that you use these compiled units rather than the default ones (e.g. by explicit use of -Fu when compiling your program).

Tomas

Reply by email