mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 02:10:53 +02:00
debugger: show lines with breakpoints in the call stack dialog
git-svn-id: trunk@18941 -
This commit is contained in:
parent
632c906b7a
commit
39c69e59f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user