Author Topic: Breakpoints don't work on a old Lazarus project  (Read 348 times)


  • New Member
  • *
  • Posts: 45
Breakpoints don't work on a old Lazarus project
« on: May 09, 2024, 08:51:32 pm »
Hello, i have an old lazarus project, and at this moment i'm running Lazarus 3.0.

If i create a new project, add some breakpoint, works fine. But on this old project i can't put working the breakpoints, its like don't have any breakpoint.

My debugging configs:

Any idea, what i need check/set to solve this?



  • Administrator
  • Hero Member
  • *
  • Posts: 9967
  • Debugger - SynEdit - and more
    • wiki
Re: Breakpoints don't work on a old Lazarus project
« Reply #1 on: May 09, 2024, 09:22:53 pm »
Are the breakpoints shown in the source editor?

Once you run, what color do they turn, and do they show some icon (check-mark,  question-mark, two-vertical-bars, ...)?

Also check for breakpoints in the "breakpoint window" => menu: View > Debug Windows > Breakpoints.
- Do they have "break" in the action column?
- No condition set?

Have you tried to remove them, and set them again?

Do you have optimization disabled?

From the image: This is on Windows?

Do you compile for 32 bit or 64 bit?
Is your IDE 32 or 64 bit?

In menu: Tools > Options
Page: Debugger > Debugger Backend

What debugger is selected? FpDebug or Gdb

If there is some red text "The project uses a different debugger" then check in project options too.


TinyPortal © 2005-2018