DBG: do not set temporary stack = -1 in thread changing. This may cause errors

git-svn-id: trunk@37440 -
This commit is contained in:
martin 2012-05-27 22:59:11 +00:00
parent 44b364786b
commit dce6409cc1

View File

@ -8885,8 +8885,8 @@ begin
exit;
end;
TGDBMIDebugger(Debugger).FCurrentStackFrame := -1;
TGDBMIDebugger(Debugger).FInternalStackFrame := -1;
TGDBMIDebugger(Debugger).FCurrentStackFrame := 0;
TGDBMIDebugger(Debugger).FInternalStackFrame := 0;
tid := Debugger.Threads.Monitor.CurrentThreads.CurrentThreadId;
cs := TCurrentCallStack(CurrentCallStackList.EntriesForThreads[tid]);
idx := cs.CurrentIndex; // CURRENT