mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 19:02:31 +02:00
debugger: fix confirmation message for deletion of address breakpoint
git-svn-id: trunk@30824 -
This commit is contained in:
parent
4a6f2b5046
commit
0373bf91fd
@ -771,8 +771,10 @@ begin
|
||||
if lvBreakPoints.SelCount = 1 then
|
||||
begin
|
||||
CurBreakPoint:=TIDEBreakPoint(Item.Data);
|
||||
Msg := Format(lisDeleteBreakpointAtLine, [#13, CurBreakPoint.Source,
|
||||
CurBreakPoint.Line]);
|
||||
case CurBreakPoint.Kind of
|
||||
bpkSource: Msg := Format(lisDeleteBreakpointAtLine, [#13, CurBreakPoint.Source, CurBreakPoint.Line]);
|
||||
bpkAddress: Msg := Format(lisDeleteBreakpointForAddress, ['$' + IntToHex(CurBreakPoint.Address, 8)]);
|
||||
end;
|
||||
end
|
||||
else
|
||||
Msg := lisDeleteAllSelectedBreakpoints;
|
||||
|
Loading…
Reference in New Issue
Block a user