News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Debug works while crashed when run directly

Started by rentt, May 06, 2013, 06:02:39 AM

Previous topic - Next topic

rentt

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? 

oBFusCATed

Quote from: rentt on May 06, 2013, 06:02:39 AM
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]