Hello.
From time to time I struggle with error that just write a message to the console, and immediately close whole program.
My question is how to read such errors. I guess the easiest way would be to prevent console from closing, or by setting a breakpoint, but none of theese worked.
It would be good to redirect the console output to a file. How can such thing be done in Code::Blocks? Or if it can't, is there any other workaround, that would allow me to debug such errors? I'm working on Windows.
Thanks.