Cannot debug DLL on Windows x64
Original Reporter info from Mantis: softvision
-
Reporter name: Bernd Engelhardt
Original Reporter info from Mantis: softvision
- Reporter name: Bernd Engelhardt
Description:
If you start a DLL with a host application, then all breakpoints discarded. You will see the following message for each breakpoint in the debugger output.
<-break-insert func.pas:17>
&"No source file named func.pas.\n"
The problem is based on the old version of the gdb.exe (6.7.50) in "mingw\bin". I recomment to update the "gdb.exe" to a more recent version. If I use the version 7.0.1, I can debug DLLs on Windows x64. You can find this version on http://sourceforge.net/projects/mingw-w64/files/ in the section "External binary packages (Win64 hosted)".
This problem exists on x64 only. This problem exists for new versions of Lazarus also.
Mantis conversion info:
- Mantis ID: 15587
- Version: 0.9.28.2
- Monitored by: » softvision (Bernd Engelhardt)