[Lazarus] Add notification to callstack change.

Martin lazarus at mfriebe.de
Wed Feb 8 17:44:41 CET 2012


On 08/02/2012 16:36, Everton Vieira wrote:
> How can a debug an app in run time? Is there some how?

If you can not use any debugger, then the only way is lots of writeln 
(or LCLProc.Debugln) and DumpStack...

If it is just you can't use Lazarus to debug => you can still use gdb 
itself (Lazarus uses gdb too)

For example, if you code is executed in a http-server, gdb can "attach" 
to the already running server (Lazarus does not yet support that)

Another way is, if you cant debug your code on the life system, write a 
test case. A stand-alone app, that uses the units, and calls the code in 
question with simulated data. Then debug the test case







More information about the Lazarus mailing list