A while ago, I had a client with an exception on a workstation.
There was no permission to run a debugger on their system, or use something like MadExcept or Exceptional Magic in their code base.
The exception looked like this:
--------------------------- Application Error --------------------------- Exception EInOutError in module MyApplication.exe at 001656B1.File access denied. --------------------------- OK ---------------------------
These are the steps to get at the source line in an x86 Delphi program (I still have to try the x64, but presume it works similarly):
- Go to the Project Options dialog
- Browse to Delphi Compiler; Linking
- Note the value of the Image Base setting (in this case $400000
- Add that to the value from the error dialog ($001656B1 + $400000 = $005656B1)
- Use F7 to step into your executable
- In the menu goto View; Debug Windows; CPU Windows; Entire CPU
- Press Ctrl-G then enter $005656B1
- Press Ctrl-V to go to the source code line
Convoluted, but it works (:
–jeroen
Filed under: Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development
