mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 13:18:19 +02:00
Debugger: do not search source frame, if doing asm-single-steps
This commit is contained in:
parent
476cfd4484
commit
55475340ca
@ -1624,6 +1624,7 @@ begin
|
||||
SrcLine := FCurrentLocation.SrcLine;
|
||||
if (SrcLine < 1) and (SrcLine <> -2) // TODO: this should move to the debugger
|
||||
// SrcLine will be -2 after stepping (gdbmi)
|
||||
and not FAsmStepping
|
||||
then begin
|
||||
TId := Threads.CurrentThreads.CurrentThreadId;
|
||||
if CallStack.CurrentCallStackList.EntriesForThreads[TId].HasAtLeastCount(30) = nbUnknown then begin
|
||||
@ -1670,6 +1671,7 @@ begin
|
||||
|
||||
if (SrcLine < 1) and (SrcLine <> -2) // TODO: this should move to the debugger
|
||||
// SrcLine will be -2 after stepping (gdbmi)
|
||||
and not FAsmStepping
|
||||
then begin
|
||||
// jump to the deepest stack frame with debugging info
|
||||
// TODO: Only below the frame supplied by debugger
|
||||
|
Loading…
Reference in New Issue
Block a user