Code::Blocks Forums

User forums => Help => Topic started by: rentt on May 06, 2013, 06:02:39 am

Title: Debug works while crashed when run directly
Post by: rentt on May 06, 2013, 06:02:39 am
I used CB12.11 compiled a app on Win7. If I run the app with debug mode, it works fine. Both in CB debug or run "gdb app" in command line. But the app crashed random with doubl click the exe file directly. What caused this issue? My app's bug or some compile options? 
Title: Re: Debug works while crashed when run directly
Post by: oBFusCATed on May 06, 2013, 04:12:23 pm
My app's bug or some compile options? 
Might be both. Check if you link to correct libraries.
Check your memory with a tool like valgrind.