Recent

Author Topic: How can I remove unexisting breakpoint?  (Read 4072 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 309
How can I remove unexisting breakpoint?
« on: July 25, 2016, 09:43:51 pm »
IDE breaking application with this message (look at picture). List of breakpoints is empty. This breakpoint was real but I remove it during application running. IDE is thinking that breakpoint is active. But not.

BTW: Window is not translated. Slovak translation for this window is:
Title: Varovanie debuggera
Content:
Debugger narazil na neočakávaný bod prerušenia.
Stlač "Ok" pre pokračovanie ladenia (pozastavené).
Stlač "Zastaviť" pre zastavenie ladenia.

Buttons are translated. Please add this translation for slovak language.
« Last Edit: July 25, 2016, 09:50:09 pm by Milsa »
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Thaddy

  • Hero Member
  • *****
  • Posts: 14377
  • Sensorship about opinions does not belong here.
Re: How can I remove unexisting breakpoint?
« Reply #1 on: July 25, 2016, 09:59:13 pm »
In most cases this is caused by an external library without debug info.
Can you give us a small example that can replicate this?
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: How can I remove unexisting breakpoint?
« Reply #2 on: July 25, 2016, 10:25:28 pm »
Buttons are translated. Please add this translation for slovak language.

Please create a patch and send it to mantis.freepascal.org.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9897
  • Debugger - SynEdit - and more
    • wiki
Re: How can I remove unexisting breakpoint?
« Reply #3 on: July 25, 2016, 11:03:43 pm »
Quote
List of breakpoints is empty
This is the breakpoint window? From Menu: view > debug windows > breakpoints?

There is no setting to disable this.
This indicates that something between the IDE and gdb went wrong.

It depends when exactly you got that error.

It can happen when you remove a breakpoint, at the exact moment at which it gets hit. This is very rare. And then you close the window, and all is ok.

If it is not that, then I dont know. Maybe a problem in gdb...

Can you reproduce it?
If you close the window, does it keep opening again?







http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Re: How can I remove unexisting breakpoint?
« Reply #4 on: July 26, 2016, 10:01:59 pm »
Quote
This is the breakpoint window? From Menu: view > debug windows > breakpoints?
Yes.

Thank you your answer. I will try to find old backup from this project and add changes and compare it. Old backup is without this breakpoint.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

 

TinyPortal © 2005-2018