mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 18:50:25 +02:00
* check if breakpoint name is assigned when displaying breakpoints in the disassembly window, resolves #9257
git-svn-id: trunk@8857 -
This commit is contained in:
parent
77daccf9e6
commit
63a73870cf
@ -1818,9 +1818,12 @@ procedure TBreakpointCollection.ShowBreakpoints(W : PFPWindow);
|
||||
end
|
||||
else
|
||||
begin
|
||||
Val('$'+P^.Name^,HAddr,code);
|
||||
If (P^.typ=bt_address) and (PDL^.Address=HAddr) then
|
||||
PDisassemblyWindow(W)^.Editor^.SetLineFlagState(i,lfBreakpoint,P^.state=bs_enabled);
|
||||
if assigned(P^.Name) then
|
||||
begin
|
||||
Val('$'+P^.Name^,HAddr,code);
|
||||
If (P^.typ=bt_address) and (PDL^.Address=HAddr) then
|
||||
PDisassemblyWindow(W)^.Editor^.SetLineFlagState(i,lfBreakpoint,P^.state=bs_enabled);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user