VirtualBox

Ignore:
Timestamp:
May 3, 2015 3:42:51 PM (10 years ago)
Author:
vboxsync
Message:

3D: do not interrupt App execution on crError() on release build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/error.c

    r55574 r55624  
    9797    va_end(va);
    9898
    99 #ifdef IN_GUEST
    100     /* Give things a chance to close down. */
     99#ifdef DEBUG
     100    /* Let's interrupt App execution only on debug builds and return
     101     * bad status to upper level on release ones. */
     102# ifdef IN_GUEST
     103    /* Trigger debugger's breakpoint handler. */
    101104    ASMBreakpoint();
    102 #else
     105# else
    103106    /* Dump core or activate the debugger in debug builds. */
    104107    AssertFailed();
    105 #endif
     108# endif
     109#endif /* DEBUG */
    106110}
    107111
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette