Menu

Can only run program in Debug mode

2014-03-11
2015-07-13
  • SilverNexus

    SilverNexus - 2014-03-11

    I was building an application using SDL and Dev-C++. For whatever reason, when I try to run the program without debugging (with or without debugging information in the compiled file), it crashes right before the first SDL window is drawn to. Yet, without changing anything, I run it in debug mode, and it runs fine.

    It has been a problem in 5.6.1 and is also persisting in the pre-release of 5.6.2 included on tickets 111 and 112 in the Tracker.

    Does anyone know if this is a problem with Dev-C++, SDL, or Windows itself (according to the information of the error box, the faulting module is ntdll.dll [a core Windows library])? Its getting frustrating to always run in debugging mode, since there is a noticeable performance impact from doing so.

     

    Last edit: SilverNexus 2014-03-11
  • SilverNexus

    SilverNexus - 2014-03-11

    This is the error I get from Windows when I run without debugging.

     
  • SilverNexus

    SilverNexus - 2014-03-11

    It also happens on my laptop -- Debug works fine, but regular runs crash.

    This runs Windows 8 (which lessens the chance of Windows being the problem), rather than Windows 7.

     
  • SilverNexus

    SilverNexus - 2014-03-12

    Upon further research, it appear that it just needed compatibility mode enabled for XP or Vista, and it works like a charm (until the point it reached SIGTRAP even in debug).

     
  • mustafa

    mustafa - 2015-07-13

    help me cracker programs will be
    please help

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.