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