c++ - Getting from memory address to function in source -
with tool process explorer know process hangs @ special function myexe.exe+0x1b5773
is there way exact function if have pdb available? or must there .map file information?
i know can attach exe debugger, option if problem occures on not developer machine..
process explorer
this can done in process explorer under options|configure symbols...
:
- choose
dbghelp.dll
set symbol path
srv*c:\debug\symbols*http://msdl.microsoft.com/download/symbols;c:\mysymbols
but may not convenient customer.
a safer , typically more user friendly way:
- right click process
- choose
create dump | create minidump...
- select file name
- let customer send dump can analyze it.
with dump, can't wrong , weeks later, can still analyzed, can't in case of transient data displayed process explorer moment.
windbg
you can in windbg this:
- open executable in question as dump file
.symfix
.sympath+ <your pdb path>
.reload
ln myexe.exe+0x1b5773
Comments
Post a Comment