mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 23:00:15 +02:00
DBG: do not set temporary stack = -1 in thread changing. This may cause errors
git-svn-id: trunk@37440 -
This commit is contained in:
parent
44b364786b
commit
dce6409cc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user