IDE isn't startable if compiled with debug symbols
Original Reporter info from Mantis: Michl @michl1
-
Reporter name: Michl
Original Reporter info from Mantis: Michl @michl1
- Reporter name: Michl
Description:
If the IDE is builded on FPC 3.1.1 trunk (revision 33300) with -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa for Windows, Lazarus starts with a exception:
Adding "--pcp=C:\FreePascalTest\Configs" as a parameter
Adding "--debug-log=C:\FreePascalTest\debug.txt" as a parameter
Adding "" as a parameter
SetPrimaryConfigPath NewValue="C:\FreePascalTest\Configs" -> "C:\FreePascalTest\Configs"
TLazarusManager.RuSetPrimaryConfigPath NewValue="C:\FreePascalTest\Configs" -> "C:\FreePascalTest\Configs"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="C:\FreePascalTest\Configs"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="C:\FreePascalTest\laz"
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=i386-win32-win32 New=i386-win32-win32 FPC=True LCL=False
Hint: (lazarus) AskIfLoadLastFailingProject START
Hint: (lazarus) AskIfLoadLastFailingProject END True
TApplication.HandleException directory not absolute "uninitialized function result in function ChompPathDelim(const Path:AnsiString):"
Stack trace:
$006B90CB RAISEDIRNOTABSOLUTE, line 708 of directorycacher.pas
$006B8FD1 CREATE, line 716 of directorycacher.pas
$006BA905 GETCACHE, line 1451 of directorycacher.pas
$006BB0EE FINDDISKFILENAME, line 1663 of directorycacher.pas
$006BA8F0 GETCACHE, line 1450 of directorycacher.pas
$006BA99A GETSTRING, line 1465 of directorycacher.pas
$00703CFE GETCOMPLETESRCPATHFORDIRECTORY, line 1450 of codetoolmanager.pas
$00A155A6 OPENEDITORFILE, line 1221 of sourcefilemanager.pas
$00A129BB OPENEDITORFILE, line 395 of sourcefilemanager.pas
$00A1E973 INITOPENEDPROJECTFILE, line 3655 of sourcefilemanager.pas
$004613CF DOOPENPROJECTFILE, line 6236 of main.pp
$0044F5DE SETUPSTARTPROJECT, line 2278 of main.pp
$0044C658 STARTIDE, line 1592 of main.pp
$00403253 main, line 133 of lazarus.pp
[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred
The added patch behaves it.
Mantis conversion info:
- Mantis ID: 29866
- OS: 7
- OS Build: 64bit
- Build: 52003
- Platform: Windows
- Version: 1.7 (SVN)