Debugging Neuz

05/17/2013 21:10 Ultimeta#1
Hello,

Occasionally, when your Neuz crashes, it leaves an error log like this:

Code:
Neuz.exe caused an Microsoft C++ Exception in module KERNELBASE.dll at 0023:760FC41F, RaiseException()+0088 byte(s)

 - Registers

EAX=0018FAF4  EBX=7EFDE000  ECX=00000003  EDX=00000000  ESI=00A5230C
EDI=0018FB84  EBP=0018FB44  ESP=0018FAF4  EIP=760FC41F  FLG=00000212
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:760FC41F KERNELBASE.dll, RaiseException()+0088 byte(s)
[B]0023:009143CD Neuz.exe
0023:00951384 Neuz.exe
0023:0047132D Neuz.exe
0023:0046C9B6 Neuz.exe
0023:0048C3FD Neuz.exe
0023:0048AF4A Neuz.exe
0023:00474DEF Neuz.exe
0023:0091A7D4 Neuz.exe[/B]
0023:746033AA KERNEL32.dll, BaseThreadInitThunk()+0018 byte(s)
0023:77029EF2 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s)
0023:77029EC5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s)
From the bold part, I know this is the stack trace where the error occurs, but all this error log gives me is memory addresses, I think: '0023:00951384'

Is it possible to trace these error messages back to the source of the crash? How else would I figure out what exactly caused this crash?
05/18/2013 23:51 xTwiLightx#2
The Memory adressess will always appear, but you can get exact functions + lines when you copy the .pdb file to your binary path (compiled with /Zd if I am right).

Or you can debug it live (start a debug session in visual Studio and wait for breaks, or set breakspoints by yourself).

Btw: This is how it works for me in Visual Studio 2010, I don't know the behaviour of VS.NET 2003.