Reputation: 730
with the tool Process Explorer I know that my process hangs at a special function myexe.exe+0x1b5773
is there a way to get to the exact function if I have the pdb available? Or must there be a .map file for this information?
I know I can attach to the exe with a debugger, but this is now always a option if the problem occures on a not developer machine..
Upvotes: 2
Views: 429
Reputation: 59279
This can be done in Process Explorer itself under Options|Configure symbols...
:
dbghelp.dll
Set the symbol path
SRV*c:\debug\symbols*http://msdl.microsoft.com/download/symbols;c:\mysymbols
But this may not be very convenient for your customer.
A safer and typically more user friendly way:
Create dump | Create Minidump...
With a dump, you can't do anything wrong and even weeks later, it can still be analyzed, which you can't in case of transient data just displayed by Process Explorer for a moment.
You can do it in WinDbg like this:
.symfix
.sympath+ <your PDB path>
.reload
ln myexe.exe+0x1b5773
Upvotes: 2