No feedback from Debugger/IDE if DLL is missing
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When running an application where a linked DLL (Windows) is missing then there is no feedback, the state of the IDE will simply switch back to "not running" (which is very confusing if one does not look at the debugger output).
Steps to reproduce:
Run the following program (obviously without a &LtPos;i>Foobar.dll&LtPos;/i> existing ;) ):
program tdlltest; {$mode objfpc}{$H+} procedure Test; external 'Foobar.dll' name 'Test'; begin Test; end.
The debugging session will immediately stop and nothing further will happen.
Additional information:
This is with GDB 7.3, GDB 8.2 will crash instead. I've attached both debug outputs
Mantis conversion info:
- Mantis ID: 37861
- OS: Windows NT
- OS Build: 10
- Build: 63883
- Platform: X86_64
- Version: 2.1 (SVN)
- Fixed in version: 2.2
- Fixed in revision: 63950 (#7ab3261e)
- Target version: 2.2