mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 03:00:25 +00:00
Calls _KEYCLEAR before moving on with the debuggee.
In order to prevent unwanted keypresses eventually entered while in pause mode.
This commit is contained in:
parent
908a5b179f
commit
357178652b
|
@ -215,13 +215,13 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
||||||
CASE "run"
|
CASE "run"
|
||||||
vw_pauseMode = 0
|
vw_pauseMode = 0
|
||||||
vw_stepOver = 0
|
vw_stepOver = 0
|
||||||
vwatch_starttimers
|
_KEYCLEAR: vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
CASE "run to line"
|
CASE "run to line"
|
||||||
vw_pauseMode = 0
|
vw_pauseMode = 0
|
||||||
vw_stepOver = 0
|
vw_stepOver = 0
|
||||||
vw_runToLine = CVL(vw_value$)
|
vw_runToLine = CVL(vw_value$)
|
||||||
vwatch_starttimers
|
_KEYCLEAR: vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
CASE "step"
|
CASE "step"
|
||||||
vw_pauseMode = -1
|
vw_pauseMode = -1
|
||||||
|
@ -231,19 +231,19 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
||||||
vw_pauseMode = -1
|
vw_pauseMode = -1
|
||||||
vw_stepOver = -1
|
vw_stepOver = -1
|
||||||
vw_startLevel = vwatch_sublevel
|
vw_startLevel = vwatch_sublevel
|
||||||
vwatch_starttimers
|
_KEYCLEAR: vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
CASE "step out"
|
CASE "step out"
|
||||||
vw_pauseMode = -1
|
vw_pauseMode = -1
|
||||||
vw_stepOver = -1
|
vw_stepOver = -1
|
||||||
vw_startLevel = vwatch_sublevel - 1
|
vw_startLevel = vwatch_sublevel - 1
|
||||||
vwatch_starttimers
|
_KEYCLEAR: vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
CASE "free"
|
CASE "free"
|
||||||
unlockvWatchHandle: CLOSE #vw_ideHost
|
unlockvWatchHandle: CLOSE #vw_ideHost
|
||||||
vw_ideHost = 0
|
vw_ideHost = 0
|
||||||
vw_bypass = -1
|
vw_bypass = -1
|
||||||
vwatch_starttimers
|
_KEYCLEAR: vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
CASE "set breakpoint"
|
CASE "set breakpoint"
|
||||||
vwatch_breakpoints(CVL(vw_value$)) = -1
|
vwatch_breakpoints(CVL(vw_value$)) = -1
|
||||||
|
@ -516,6 +516,7 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
||||||
_LIMIT 100
|
_LIMIT 100
|
||||||
LOOP
|
LOOP
|
||||||
|
|
||||||
|
_KEYCLEAR
|
||||||
vwatch_starttimers
|
vwatch_starttimers
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue