[lazarus] debugging in lazarus

Marc Weustink marc at dommelstein.net
Sat Jul 26 20:54:26 EDT 2003


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






More information about the Lazarus mailing list