mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 21:10:42 +02:00
Debugger GDBMI: Fix thread context for finding correct frame
git-svn-id: trunk@60273 -
This commit is contained in:
parent
5692512684
commit
54f21f7efa
@ -6168,8 +6168,8 @@ begin
|
||||
|
||||
if Reason = 'end-stepping-range'
|
||||
then begin
|
||||
SetDebuggerState(dsPause);
|
||||
ProcessFrame(List.Values['frame'], False);
|
||||
SetDebuggerState(dsPause);
|
||||
ProcessFrame(List.Values['frame'], False);
|
||||
Exit;
|
||||
end;
|
||||
|
||||
@ -10974,6 +10974,7 @@ begin
|
||||
List := TGDBMINameValueList.Create('');
|
||||
try
|
||||
CurContext := FContext;
|
||||
FContext.ThreadContext := ccUseGlobal;
|
||||
FContext.StackContext := ccUseLocal;
|
||||
repeat
|
||||
FContext.StackFrame := Result;
|
||||
|
Loading…
Reference in New Issue
Block a user