Forum > General
[Solved] Wiki topic "Breakpoint properties"
AlexTP:
https://wiki.freepascal.org/IDE_Window:_Breakpoints#Breakpoint_properties
1. screenshot of "Breakpoint props" dlg is old, misses 'Pass count' field in IDE 4.0.
2. This description of option is poor, pls reformulate / rephrase:
Auto continue after: This also avoids the focus change between IDE and app. It however indicates the execution line in the source editor, which leads to a visible indication. If the time is long enough watches might be evaluated.
I don't understand the logic of this option - when does it activate? what it does?
Martin_fr:
Anyone can upload the latest image... Though 4.0 is not yet released.
Actions are executed, if condition is true, and hitcount reached.
IIRC (but needs to be tested for all backends) hitcount increases, if condition is true.
Auto-continue issues a "run/F9" when the time is over (during that time, the user can press pause in the IDE / may be backend dependent).
And as said, the IDE does not take focus.
Disabling "break" is similar to auto continue. Except, the time is just what it takes to perform any other selected actions. And it does not go to run (at least not in all backends), it can instead also continue a single step. (IIRC)
Not sure what your last question refers to. The word "activate" is not mentioned with auto continue?
AlexTP:
The logic of "Auto continue" is unclear to me. How the option affects the breakpoint? how IDE uses it? your last text also did not shred the light.
AlexTP:
I made experiment with 'Auto continue' and I got it: when breakpoint activates, IDE focuses its window (if Break is checked) and if 'Auto continue' delay is set, IDE continues the running after this delay.
'Auto continues' makes no sense if Break is unchecked?
Martin_fr:
On which OS did you test? I tested on Windows, and the IDE did not take focus. (I haven't checked if anchor docking does interfere).
Yes, Auto continue only makes sense if break is checked.
I don't think (but haven't tested) if there is any diff at all otherwise.
IMHO most of the cases, unchecking break is what you want.
But in some case auto-continue may still be helpful.
Auto-continue could probably be (visually) moved to be a sub-option of "break".
Navigation
[0] Message Index
[#] Next page