mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 18:59:08 +02:00
Debugger, Test: don't get current location when not paused
This commit is contained in:
parent
6aa6ea6983
commit
34a5fe0392
@ -465,6 +465,7 @@ function TTestDbgDebugger.RunToNextPause(ACmd: TDBGCommand; ATimeOut: Integer;
|
|||||||
AWaitForInternal: Boolean): Boolean;
|
AWaitForInternal: Boolean): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
if LazDebugger.State in [dsPause, dsInternalPause] then
|
||||||
with CurLocation do DebugLnEnter('>>> RunToNextPause Starting at %s %d @ %x', [SrcFile, SrcLine, Address]);
|
with CurLocation do DebugLnEnter('>>> RunToNextPause Starting at %s %d @ %x', [SrcFile, SrcLine, Address]);
|
||||||
case ACmd of
|
case ACmd of
|
||||||
dcRun: LazDebugger.Run;
|
dcRun: LazDebugger.Run;
|
||||||
|
Loading…
Reference in New Issue
Block a user