|
@@ -901,7 +901,7 @@ Function OnDebugLeaveScope()
|
|
If dbgState.scopeStackTop
|
|
If dbgState.scopeStackTop
|
|
dbgState.currentScope=dbgState.scopeStack[dbgState.scopeStackTop-1]
|
|
dbgState.currentScope=dbgState.scopeStack[dbgState.scopeStackTop-1]
|
|
Else
|
|
Else
|
|
- dbgState.currentScope=New TScope
|
|
|
|
|
|
+ dbgState.currentScope=Null
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
GCResume
|
|
GCResume
|
|
@@ -940,7 +940,7 @@ Function OnDebugPopExState()
|
|
If dbgState.scopeStackTop
|
|
If dbgState.scopeStackTop
|
|
dbgState.currentScope=dbgState.scopeStack[dbgState.scopeStackTop-1]
|
|
dbgState.currentScope=dbgState.scopeStack[dbgState.scopeStackTop-1]
|
|
Else
|
|
Else
|
|
- dbgState.currentScope=New TScope
|
|
|
|
|
|
+ dbgState.currentScope=Null
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
GCResume
|
|
GCResume
|