mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:59:27 +02:00
Revert r55547 #9fae108464. FindFullFilenameSrc is called on Windows.
git-svn-id: trunk@55550 -
This commit is contained in:
parent
5f2e130bc6
commit
51ca7791dc
@ -576,7 +576,7 @@ end;
|
||||
|
||||
// Helper function for TDebugManager.GetFullFilename.
|
||||
function FindFullFilenameSrc(const AUnitinfo: TDebuggerUnitInfo): boolean;
|
||||
{var
|
||||
var
|
||||
SrcUnitName: String;
|
||||
SrcInFilename: String;
|
||||
SrcFilename: String;
|
||||
@ -584,11 +584,9 @@ function FindFullFilenameSrc(const AUnitinfo: TDebuggerUnitInfo): boolean;
|
||||
ProcDef: String;
|
||||
CurCodeTool: TCodeTool;
|
||||
CurCodeNode: TCodeTreeNode;
|
||||
CodePos: TCodeXYPosition; }
|
||||
CodePos: TCodeXYPosition;
|
||||
begin
|
||||
DebugLn('FindFullFilenameSrc was called after all in TDebugManager.GetFullFilename.');
|
||||
raise Exception.Create('FindFullFilenameSrc was called after all in TDebugManager.GetFullFilename.');
|
||||
{ Result:=false;
|
||||
Result:=false;
|
||||
// search unit in project unit path
|
||||
SrcUnitName := AUnitinfo.UnitName;
|
||||
SrcInFilename := '';
|
||||
@ -620,7 +618,7 @@ begin
|
||||
AUnitinfo.LocationFullFile := CodePos.Code.Filename;
|
||||
AUnitinfo.SrcLine := CodePos.Y;
|
||||
//DumpStack;
|
||||
Result:=true; }
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
function TDebugManager.GetFullFilename(const AUnitinfo: TDebuggerUnitInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user