mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 14:00:18 +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'
|
if Reason = 'end-stepping-range'
|
||||||
then begin
|
then begin
|
||||||
SetDebuggerState(dsPause);
|
SetDebuggerState(dsPause);
|
||||||
ProcessFrame(List.Values['frame'], False);
|
ProcessFrame(List.Values['frame'], False);
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -10974,6 +10974,7 @@ begin
|
|||||||
List := TGDBMINameValueList.Create('');
|
List := TGDBMINameValueList.Create('');
|
||||||
try
|
try
|
||||||
CurContext := FContext;
|
CurContext := FContext;
|
||||||
|
FContext.ThreadContext := ccUseGlobal;
|
||||||
FContext.StackContext := ccUseLocal;
|
FContext.StackContext := ccUseLocal;
|
||||||
repeat
|
repeat
|
||||||
FContext.StackFrame := Result;
|
FContext.StackFrame := Result;
|
||||||
|
Loading…
Reference in New Issue
Block a user