#Trouble opening crash dump with debugger

1 messages · Page 1 of 1 (latest)

river pier
#

Hey guys, I'm trying to debug an annoying crash to desktop, which has generated a crash.dmp for me. I opened VS from the Unity editor so it had access to the game assets, then opened the dmp from the file menu. I get the output in the screenshot below, but I'm not sure what I need to press or do to actually figure out what went wrong. I've tried the different Debug with.. options but they shoot out error messages and won't let me attach the GameAssembly.dll to it

cold raven
#

Is any of the stack visible if you try to do mixed/native debug?

#

Anyway the crash reason appears to be a stack overflow so if in your code that should be an easy fix

river pier
#

this is mixed- I've been trying to point it to the GameAssembly.dll but it doesn't seem to want to select it

cold raven
#

You should have or be able to open the normal debug stack trace window

river pier
#

do you know where I can find this? I'm not very familiar with the debugger

cold raven
#

I dont remember if it requires symbols to work but that may be why its not working with the provided "GameAssembly"

#

should be in the window > debugging though that vs version looks to be a tad old

river pier
#

I think it's up and pointing me to this, but i still can't really see what it

#

is

cold raven
#

You may need a new build with "copy PDB files" enabled and/or dev build

river pier
#

argh

cold raven
#

PDB files contain the debug symbols for windows binaries where as unix like usually embed them within the lib

#

Im not 100% if c# requires them to decode the stack but native languages do

river pier
#

alrighty, I think I'll leave it here then

#

and maybe send over a new build with this option enabled

#

it's a very rare crash, so I have no idea what's causing it

cold raven
#

Is this using il2cpp?

river pier
#

yeah it is

cold raven
#

ah then that explains it. Yea if you dont have the symbols you are shit out of luck

#

Pray you have the "backup this folder" and check for the symbol files in there

river pier
#

I do have access to it

cold raven
#

You may be able to rebuild this version to get them back too

river pier
#

well, the ones on my desktop anyway

cold raven
#

presuming you use source control

#

yea give it a go

river pier
#

I see this

#

but it's still not turning up in the VS symbol search thingy

cold raven
#

try copying it to be next to the dll

#

Normally when native binaries are build it will put the debug symbols in the same dir as the DLL

river pier
#

good idea though

cold raven
#

I was going off what works for c++ debugging. If the dll and pdb file are there i see no reason for this to not work

#

Unless the dump is for another version and you are mistaken

river pier
#

shouldn't be, it's just the one build that I have

#

i might go through the code again with a fine tooth comb and just see if I can spot what's causing it manually

#

thanks for your help buddy