[lazarus] debugging in lazarus

Vincent Snijders vslist at zonnet.nl
Sun Jul 27 17:09:47 EDT 2003


On Sun, 27 Jul 2003 03:22:28 +0200
Marc Weustink <marc at dommelstein.net> wrote:

> At 21:56 26-7-2003 +0200, you wrote:
> >Hi,
> >
> >I thought some debugging (stepping through code and setting
> >breakpoints) was working in lazarus.
> >
> >When I try to step through a program it doesn't seem to run.
> >
> >In the debug output window is:
> >============================
> >-break-insert testlcl.lpr:22>
> >&"No symbol table is loaded.  Use the \"file\" command.\n"
> >
> >^error,msg="No symbol table is loaded.  Use the \"file\" command."
> >
> ><-environment-cd /home/vsds/lazarus/projects/testlcl/>
> >^done
> >
> >(gdb)
> >=============================
> 
> AFIAK The lazarus debugger itself should alsoi compliant in this case.
> 
> >In the compiler options linker I have checked 'genrate debugging
> >info.
> >In the environment, debugging options I set the path to the debugger.
> >
> >Am I missing something?
> 
> Nope, it should work. Is the -g flag set if you look at the Compiler 
> options -> show options.
> 
> Marc
I looked further into it and this behaviour was probably caused by
choosing 'use launching application' in the run parameter dialog. 

When I clear this checkbox (which I probablu should). I can step through
the code. Works good. 

Thanks for the help,
Vincent Snijders.






More information about the Lazarus mailing list