DSpSetDebugMode
During debugging you can use theDSpSetDebugModefunction to keep the screen and system resources visible at all times.
OSStatus DSpSetDebugMode (Boolean inDebugMode);
inDebugModetrueif the desktop display is to remain visible, even after fading;falseotherwise.DESCRIPTION
During development, if you drop into the debugger when the display has been faded out, you cannot fade the display back in so that you can see the debugger screen. Calling theDSpSetDebugModefunction with theinDebugModeflag set to a value oftruecauses your program to enter a mode in which the blanking window is not drawn and every fade operation (either in or out) causes only a partial dimming and immediate restoration of the screen intensity. Calling this function with theinDebugModeflag set to a value offalseends the mode and resumes normal operation.To make use of this function, you must call it before activating your context. Once the blanking window is in place, this function effects only gamma fades.
This function is ignored in
nondebuggingbuilds of DrawSprocket.