Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-08

Breakpoints not working

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Donald Ziesig

Hi All,

I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working fine except breakpoints are not breaking. They are listed in the breakpoints window with the break property set true, but execution goes wizzing by them without stopping.

Any ideas on what went wrong?

Thanks,

Don Ziesig

Reply by email

Martin Frb
to Donald Ziesig
Donald Ziesig wrote 8 lines
Hi All, I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working fine except breakpoints are not breaking. They are listed in the breakpoints window with the break property set true, but execution goes wizzing by them without stopping. Any ideas on what went wrong?

32 or 64 bit (and in case of the later, 32 bit IDE?)

While you debug, the breakpoints are still in there original red color? No change?

Using inline, or try except blocks? (and breakpoints are inside them?

Using smart linking?
Using Optimization level 2 or higher?

Try switching between Dwarf and stabs (project options / debugging)

Otherwise supply a log:
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

Reply by email

Donald Ziesig
to Donald Ziesig: I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working…
Donald Ziesig wrote 20 lines
Hi All, I just updated my windows (ugh) version of Lazarus to 1.4. Everything seems to be working fine except breakpoints are not breaking. They are listed in the breakpoints window with the break property set true, but execution goes wizzing by them without stopping. Any ideas on what went wrong? Thanks, Don Ziesig -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

For some strange reason the project options flag to generate gdb got turned off. Set it true and recompiled. Breakpoints now break.

Don Z.

Reply by email