mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:40:56 +02:00
Fix "goto execution point" asm location Issue #0034175 Patch by errno
git-svn-id: trunk@58772 -
This commit is contained in:
parent
6fae020d54
commit
a39a12bac0
@ -2598,16 +2598,13 @@ begin
|
||||
end;
|
||||
|
||||
function TDebugManager.DoShowExecutionPoint: TModalResult;
|
||||
var
|
||||
DummyLocation: TDBGLocationRec;
|
||||
begin
|
||||
Result := mrCancel;
|
||||
if (MainIDE.ToolStatus <> itDebugger)
|
||||
or (FDebugger = nil) or Destroying
|
||||
then Exit;
|
||||
|
||||
DummyLocation.SrcLine := 0;
|
||||
DebuggerCurrentLine(FDebugger, DummyLocation);
|
||||
DebuggerCurrentLine(FDebugger, FCurrentLocation);
|
||||
Result := mrOk;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user