[Lazarus] Add notification to callstack change.

Everton Vieira tonvieira at gmail.com
Wed Feb 8 17:52:56 CET 2012


Can I make the gdb to log the behavior of an app, or some units?

Em 08/02/2012, às 14:44, Martin escreveu:

> 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
> 
> 
> 
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list