Tuesday 15 April 2014

c++ - How to locate an unhandled exception -



c++ - How to locate an unhandled exception -

i writing programme in c++11 using visual studio 2013. when programme ends, meaning after finishes main, exception:

first-chance exception @ 0x00eb1ac6 in prog.exe: 0xc0000005: access violation reading location 0xfeeefeee.

what cause this? mean, there no more lines of code...

edit: in debug, taken file : crtexe.c , exception occurs here: lines 648-649:

ifndef _crt_app exit(mainret);

thank advice!

in debug menu, select exceptions. tick everything. rerun. trigger breakpoint whenever exception first thrown.

note error message suggests exception handled in way.

c++ exception

No comments:

Post a Comment