Fix "goto execution point" asm location Issue #0034175 Patch by errno

git-svn-id: trunk@58772 -
This commit is contained in:
martin 2018-08-24 15:56:53 +00:00
parent 6fae020d54
commit a39a12bac0

View File

@ -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;