mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 06:20:55 +02:00
IDE: debugger: auto repair gdb path delims when searching filename
git-svn-id: trunk@18924 -
This commit is contained in:
parent
7a292324c2
commit
9f7246dd62
@ -1138,6 +1138,9 @@ begin
|
||||
Result:=False;
|
||||
if Destroying then exit;
|
||||
|
||||
// some debuggers (e.g. gdb) sometimes returns linux path delims under windows
|
||||
// => fix that
|
||||
Filename := TrimFilename(SwitchPathDelims(Filename,pdsSystem));
|
||||
SrcFile := Filename;
|
||||
SrcFile := MainIDE.FindSourceFile(SrcFile,Project1.ProjectDirectory,
|
||||
[fsfSearchForProject,fsfUseIncludePaths,fsfUseDebugPath]);
|
||||
|
Loading…
Reference in New Issue
Block a user