Debugger cannot set breakpoint when running
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Dwarf 2, no optimization, Windows, x86 compiler (FPC trunk r28199+Laz trunk)
When running in IDE, the program immediately stops with an error message like
Debugger error
Oops, the debugger entered the error state...
...
The debugger could not set a breakpoint on the application's entry point.
This may be caused by missing debug info.
The GDB command:
"-break-delete 4"
did not return any result.
Steps to reproduce:
Compile and run attached program
See also attached lazarus debug log
Additional information:
Also reproduced on Lazarus 1.2.4
Problem goes away if using external linker (-Xe)
Mantis conversion info:
- Mantis ID: 26470
- OS: Windows
- OS Build: Windows 7
- Build: 45837
- Platform: x64 (with x86 compiler)
- Version: 1.3 (SVN)
- Fixed in version: 1.5 (SVN)
- Fixed in revision: 47567 (#f611836e)
- Target version: 1.6