debugger: fix confirmation message for deletion of address breakpoint

git-svn-id: trunk@30824 -
This commit is contained in:
paul 2011-05-20 06:54:47 +00:00
parent 4a6f2b5046
commit 0373bf91fd

View File

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