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...:

  1. choose dbghelp.dll
  2. 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:

  1. right click process
  2. choose create dump | create minidump...
  3. select file name
  4. 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:

  1. open executable in question as dump file
  2. .symfix
  3. .sympath+ <your pdb path>
  4. .reload
  5. ln myexe.exe+0x1b5773

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -