views:

518

answers:

1

I have a Windows Event Log entry giving the offset of the failed call triggering an application crash. I have a release build, the corresponding .PDB file, and the source.

I do not have a .MAP or .COD file.

How can I find the failing source line?

+3  A: 

WinDbg has a command that will give you the nearest symbol of an address (cant remember it off-hand) - open your binary using WinDbg -z somebin.dll and then once you find the function it's in, run "uf somebin!SomeFunc" to find the closest line to the address.

Paul Betts