mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:09:27 +02:00
+ show path in IDE breakpoint list, resolves #9873
git-svn-id: trunk@8807 -
This commit is contained in:
parent
f7b0abffec
commit
cfa6d83aee
@ -476,7 +476,7 @@ const
|
|||||||
|
|
||||||
{ Breakpoints window }
|
{ Breakpoints window }
|
||||||
dialog_breakpointlist = 'Breakpoint list';
|
dialog_breakpointlist = 'Breakpoint list';
|
||||||
label_breakpointpropheader = ' Type | State | Position | Ignore | Conditions ';
|
label_breakpointpropheader = ' Type | State | Position | Path | Ignore | Conditions ';
|
||||||
|
|
||||||
dialog_modifynewbreakpoint = 'Modify/New Breakpoint';
|
dialog_modifynewbreakpoint = 'Modify/New Breakpoint';
|
||||||
label_breakpoint_name = '~N~ame';
|
label_breakpoint_name = '~N~ame';
|
||||||
@ -1978,15 +1978,21 @@ begin
|
|||||||
S:=S+' ';
|
S:=S+' ';
|
||||||
S:=S+'|';
|
S:=S+'|';
|
||||||
if (typ=bt_file_line) then
|
if (typ=bt_file_line) then
|
||||||
S:=S+NameAndExtOf(GetStr(FileName))+':'+IntToStr(Line)
|
begin
|
||||||
else
|
S:=S+NameAndExtOf(GetStr(FileName))+':'+IntToStr(Line);
|
||||||
|
While Length(S)<40 do
|
||||||
|
S:=S+' ';
|
||||||
|
S:=S+'|';
|
||||||
|
S:=S+copy(DirOf(GetStr(FileName)),1,min(length(DirOf(GetStr(FileName))),29));
|
||||||
|
end
|
||||||
|
else
|
||||||
S:=S+GetStr(name);
|
S:=S+GetStr(name);
|
||||||
While Length(S)<40 do
|
While Length(S)<70 do
|
||||||
S:=S+' ';
|
S:=S+' ';
|
||||||
S:=S+'|';
|
S:=S+'|';
|
||||||
if IgnoreCount>0 then
|
if IgnoreCount>0 then
|
||||||
S:=S+IntToStr(IgnoreCount);
|
S:=S+IntToStr(IgnoreCount);
|
||||||
While Length(S)<49 do
|
While Length(S)<79 do
|
||||||
S:=S+' ';
|
S:=S+' ';
|
||||||
S:=S+'|';
|
S:=S+'|';
|
||||||
if assigned(Conditions) then
|
if assigned(Conditions) then
|
||||||
|
Loading…
Reference in New Issue
Block a user