mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 04:48:36 +02:00
Debugger: remove/replace wrong assert. Filename may start with ./ (e.g. ./subfolder/file.pas ), if project has files in subfolder (maybe it is possible to omit trimfilename ?)
git-svn-id: trunk@56494 -
This commit is contained in:
parent
1401108152
commit
fde0802695
@ -687,7 +687,7 @@ begin
|
||||
|
||||
// some debuggers (e.g. gdb) sometimes returns linux path delims under windows
|
||||
// => fix that
|
||||
Assert(Filename = TrimFilename(Filename), 'TDebugManager.GetFullFilename: Filename needs trimming.');
|
||||
Filename := TrimFilename(Filename);
|
||||
SrcFile := MainIDE.FindSourceFile(Filename, Project1.Directory,
|
||||
[fsfSearchForProject, fsfUseIncludePaths, fsfUseDebugPath,
|
||||
fsfMapTempToVirtualFiles]);
|
||||
|
Loading…
Reference in New Issue
Block a user