Recent

Author Topic: Behavior of my Lazarus IDE  (Read 583 times)

Nera

  • Full Member
  • ***
  • Posts: 103
Behavior of my Lazarus IDE
« on: February 25, 2020, 12:05:50 pm »
Hi guys.
I must have pressed a button that changed the behavior of my Lazarus IDE.
Now when I press "run" the execution is stopped on the first line of FORM1.create, so I must press run again. Does anyone know how I can do to press again just once and already run the program?
« Last Edit: February 25, 2020, 12:27:25 pm by Nera »

eljo

  • Sr. Member
  • ****
  • Posts: 468
Re: Behavior of my Lazarus IDE
« Reply #1 on: February 25, 2020, 12:50:18 pm »
Open the break points dialog (view\Debug windows\BreakPoints (ctrl+alt+b)) and clear them all. Some times the break point is hiden in the editor I have seen this a couple of times but I never bothered to track it down.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9855
  • Debugger - SynEdit - and more
    • wiki
Re: Behavior of my Lazarus IDE
« Reply #2 on: February 25, 2020, 01:51:44 pm »
If you have a breakpoint in a comment or none-code line, gdb will set it on the next line that has code.
So maybe the breakpoint is somewhere further up in a comment.

Also if you use symbolic links, for the IDE there will be 2 distinct files (even so they are the same via sym link). If the breakpoint is set in either one of the files, the debugger will apply it. But the IDE will only show it in one of the files.

 

TinyPortal © 2005-2018