delphi - Unable to debug 64-bit application in release configuration, with Debug information enabled -
i trying debug application in release configuration - 64-bit windows platform, no breakpoints hit.
i have enabled compiler debug information option:
i can debug application when in 32-bit release configuration; breakpoints work fine.
| configuration | 32-bit | 64-bit | |---------------|------------|------------| | debug | debuggable | debuggable | | release | debuggable | fails | "debug information" set "debug information", , full build (shift+f9) before running.
so 3 questions:
- why setting debug information work 32-bit debugger, not 64-bit dubugger?
- why 64-bit debugger able debug application in debug configuration, not in release configuration?
- what option change let me debug 64-bit applications in release configuration?
bonus screenshots
32-bit release linker options:
64-bit release linker options:
i think need enable debug information in linker options. @ least, when disable that, breakpoints not hit, , when enable setting, breakpoints hit.
in summary, can tell using trusted technique of trial-and-error, need following enable debugging:
- 32 bit: compiler debug information enabled.
- 64 bit: compiler , linker debug information enabled.
Comments
Post a Comment