[Lazarus] Breakpoints not working

Martin lazarus at mfriebe.de
Mon Feb 28 18:25:46 CET 2011


On 28/02/2011 17:20, Dave Coventry wrote:
> Hi Marten, thanks for your assistance.
>
> On 28 February 2011 18:59, Martin<lazarus at mfriebe.de>  wrote:
>> Which version of gdb?
> dave at SNECCI:~$ gdb -v
> GNU gdb (GDB) 7.2-ubuntu
ok

>> When you start the app F9, are there little blue dots in the gutter, on the
>> lines that have pascal instructions?
> Not that I can see.
>
>> - Have you compiled with debug info?
> I just ran the create_lazarus_deb.sh  script as I have done in the past.
That was "have you compiled your app with debug info", not "lazarus with 
debug info
>> What is the output in the Window: Menu: View =>  Debug Windows =>  Debug
>> output ?
>> (open the window first, then start (F9) your app)
> Relevant lines listed below.
> This line would seem to indicate the cause:
> error,msg="No symbol table is loaded.  Use the \"file\" command.
Go to project options, choose the "linking" page.

enable debug info (either -g or -gw)
I would use "dwarf" (-gw), and go to extra option page, and add 
-godwarfsets in the big memo)

Martin




More information about the Lazarus mailing list