DSpSetDebugMode
During debugging you can use theDSpSetDebugMode
function to keep the screen and system resources visible at all times.
OSStatus DSpSetDebugMode (Boolean inDebugMode);
inDebugMode
true
if the desktop display is to remain visible, even after fading;false
otherwise.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 theDSpSetDebugMode
function with theinDebugMode
flag set to a value oftrue
causes 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 theinDebugMode
flag set to a value offalse
ends 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
nondebugging
builds of DrawSprocket.