- Jun
- 98
- 0
One more problem.
From docs:
and the code (xyz.btm)
Run to breakpoint:
F5, Shift F11.
Breakpoint was not fired. Debugger marked line with breakpoint as "disabled" (white circle, red perimeter).
Step into:
F5, F11 many times. Debugger marked line with breakpoint as "disabled" just entering that line. Why disabled?
Step over (as documented)
F5, F10, F10
Breakpoint was not fired. Debugger didn't marked line with breakpoint.
In all cases output is the same:
Breakpoint was not fired.
-------------------------
Let's mark breakpoints with mouse. Click on left margin of lines: "Breakpoint" and the next one. Breakpoints are marked with red dots.
F5, F10, F10 - breakpoints was not fired :(
F5, Shift F11, Shift F11, Shift F11: strange. The first breakpoint was marked as disabled, second one - no change, both breakpoints (disabled and active) are stopping execution of "Run to breakpoint"
Happy new year
From docs:
If the batch debugger is active, BREAKPOINT sets a breakpoint on the current line, stopping a "Step Out" sequence.
and the code (xyz.btm)
Code:
@echo off
GoSub something
cancel
:something
echo Entering somewhere
breakpoint
echo Exiting somewhere
return
Run to breakpoint:
F5, Shift F11.
Breakpoint was not fired. Debugger marked line with breakpoint as "disabled" (white circle, red perimeter).
Step into:
F5, F11 many times. Debugger marked line with breakpoint as "disabled" just entering that line. Why disabled?
Step over (as documented)
F5, F10, F10
Breakpoint was not fired. Debugger didn't marked line with breakpoint.
In all cases output is the same:
Code:
Entering somewhere
Exiting somewhere
-------------------------
Let's mark breakpoints with mouse. Click on left margin of lines: "Breakpoint" and the next one. Breakpoints are marked with red dots.
F5, F10, F10 - breakpoints was not fired :(
F5, Shift F11, Shift F11, Shift F11: strange. The first breakpoint was marked as disabled, second one - no change, both breakpoints (disabled and active) are stopping execution of "Run to breakpoint"
Happy new year