How to make Windows display application crashes in the console?

Posted by Name is carl on Super User See other posts from Super User or by Name is carl
Published on 2014-06-08T09:15:04Z Indexed on 2014/06/08 9:28 UTC
Read the original article Hit count: 237

Filed under:
|

I'm developping a C application on Windows 7 64 bits, and each time it crashes I get the following dialog:

enter image description here

I would prefer something more "old school" with the complete error dumped in the console.

Something like

> HelloWorld
The application has crashed in somedll.dll for some Horrible C reason.
I have an error code 0x4445506
And a kinda stacktrace
And walls of hexa 
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506
0x4445506 0x4445506 0x4445506 0x4445506 0x4445506

Is there a way to get that?

Should I run my application with a command line debugger ?

Note: should I post this on Stackoverflow instead?

© Super User or respective owner

Related posts about Windows

Related posts about crash