mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
Resets internal variable list when compilation starts ($DEBUG).
This commit is contained in:
parent
d7b912c8a9
commit
53560ec34f
1 changed files with 6 additions and 0 deletions
|
@ -1227,6 +1227,7 @@ opexarray_recompileAttempts = 0
|
||||||
|
|
||||||
recompile:
|
recompile:
|
||||||
vWatchOn = vWatchDesiredState
|
vWatchOn = vWatchDesiredState
|
||||||
|
vWatchVariable "", -1 'reset internal variables list
|
||||||
|
|
||||||
qb64prefix_set = qb64prefix_set_desiredState
|
qb64prefix_set = qb64prefix_set_desiredState
|
||||||
qb64prefix$ = "_"
|
qb64prefix$ = "_"
|
||||||
|
@ -14219,6 +14220,11 @@ SUB vWatchVariable (this$, action AS _BYTE)
|
||||||
STATIC totalMainModuleVariables AS LONG, mainModuleVariablesList$
|
STATIC totalMainModuleVariables AS LONG, mainModuleVariablesList$
|
||||||
|
|
||||||
SELECT CASE action
|
SELECT CASE action
|
||||||
|
CASE -1 'reset
|
||||||
|
totalLocalVariables = 0
|
||||||
|
localVariablesList$ = ""
|
||||||
|
totalMainModuleVariables = 0
|
||||||
|
mainModuleVariablesList$ = ""
|
||||||
CASE 0 'add
|
CASE 0 'add
|
||||||
IF INSTR(vWatchVariableExclusions$, "@" + this$ + "@") > 0 OR LEFT$(this$, 12) = "_SUB_VWATCH_" THEN
|
IF INSTR(vWatchVariableExclusions$, "@" + this$ + "@") > 0 OR LEFT$(this$, 12) = "_SUB_VWATCH_" THEN
|
||||||
EXIT SUB
|
EXIT SUB
|
||||||
|
|
Loading…
Reference in a new issue