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:

enter image description here

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:

enter image description here

64-bit release linker options:

enter image description here

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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -