Author Topic: Debug works while crashed when run directly  (Read 3639 times)

rentt

  • Guest
Debug works while crashed when run directly
« 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? 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debug works while crashed when run directly
« Reply #1 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.
(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!]