El 26/7/23 a les 16:50, Martin Frb via lazarus ha escrit:

What happens to the breakpoint icon when you start the debugger?

Before you start the debugger, it should have a "?".

Yes, state "?(On)"

When you start it, what happens.

A pause simbol (two vertical white bars in a red circle), state "Pending (On)" (under linux the state is just "Enabled").

You can also check in the breakpoint-windows, if you make the first column wide enough there is some text.

That's what I reported as "state" above

----------
If you remove the breakpoint (can be done while the app is running / after you checked the above), is there a "small blue dot" in the gutter? On the very same line as the breakpoint had been?

No, not even under linux


Gdb would accept breakpoints at non-code lines.
FpDebug needs the breakpoint on a code line.

It's on a code line, not a blank line nor a comment.


Note that
    if condition then
     exit;  /// this exit is only a codeline in -O- // with -O1 its optimized away

Both breakpoints I tested are on an assignment that cannot be optimized away


----------
Are there ways to reproduce it ?
Could sources be shared?

The projects I tested no, I'll see if I can find a simpler project with the same issue.


Otherwise I'll send instructions to produce log files.

Bye
--
Luca Olivetti
Wetron Automation Technology https://wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to