debugger: show lines with breakpoints in the call stack dialog

git-svn-id: trunk@18941 -
This commit is contained in:
paul 2009-03-10 07:12:33 +00:00
parent 632c906b7a
commit 39c69e59f7

View File

@ -161,10 +161,14 @@ end;
procedure TCallStackDlg.UpdateView;
function HasBreakPoint(Entry: TCallStackEntry): Boolean;
function HasBreakPoint(Entry: TCallStackEntry): Boolean; inline;
var
FileName: String;
begin
// TODO: find how to check whether breakpoint is set to this line
Result := False;
FileName := Entry.Source;
Result := DebugBoss.GetFullFilename(FileName, False);
if Result then
Result := DebugBoss.BreakPoints.Find(FileName, Entry.Line) <> nil
end;
var