[Lazarus] How do you debug a console program in Linux GUI mode?

Martin lazarus at mfriebe.de
Sat Oct 1 22:38:35 CEST 2011


On 01/10/2011 21:28, Frank Church wrote:
>
>
> On 1 October 2011 20:07, Reimar Grabowski <reimgrab at web.de 
> <mailto:reimgrab at web.de>> wrote:
>
>     On Sat, 1 Oct 2011 19:51:17 +0100
>     Frank Church <vfclists at gmail.com <mailto:vfclists at gmail.com>> wrote:
>
>     > How do I configure Lazarus to do the same - start up the console
>     then run
>     > the GUI?
>     Check Run->Run Parameters->Launching application
>
>
>
> I have tried this method and it works. How do I check that it is 
> working with the debugger?

Set a breakpoint?
If it stops, then it is ok.

There was an old report that it did not work with "xterm" (and/or maybe 
other terminals?).
As gdb would then debug the starter-app

Make sure you have gdb set as debugger in the environment options.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111001/a4ae0cce/attachment-0003.html>


More information about the Lazarus mailing list