Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit db8f273

Browse files
committed
[[ Bug 22137 ]] Fix conditional breakpoint evaluation
This patch ensures that conditional breakpoints that evaluate to false are reevaluated if the same breakpoint is encountered again. For example, if a conditional breakpoint is in a repeat loop it should be evaluated each iteration. A previous patch indended to ensure that errors encountered while debugging a previous event were not re-entered caused conditional breakpoints to not re-evaluate each iteration if no other breakpoint was encountered.
1 parent fa4de52 commit db8f273

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Toolset/libraries/revdebuggerlibrary.livecodescript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,6 +2455,7 @@ on traceBreak pHandler, pLine
24552455
set the traceStack to the short name of __TargetStack(the long id of the target)
24562456
__UpdateScriptEditor tTarget, pHandler, pLine, "debug"
24572457
else
2458+
delete variable sLastBreakInfo
24582459
set the traceReturn to true
24592460
end if
24602461
end traceBreak

notes/bugfix-22137.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix issue causing conditional breakpoints in repeat loops to only be evaluated once

0 commit comments

Comments
 (0)