Carbon


DebuggerGetMax

Header: MacMemory.h Carbon status: Unsupported

Determines which debugger functions are present.

SInt32 DebuggerGetMax ();
function result

A value representing the highest selector number of the debugger functions available through the _DebugUtil trap.

DISCUSSION

The DebuggerGetMax function returns a value corresponding to the highest selector number of the debugger functions that are defined in terms of the _DebugUtil trap. The value corresponds to the following debugger functions:

Selector Function

$0000 DebuggerGetMax

$0001 DebuggerEnter

$0002 DebuggerExit

$0003 DebuggerPoll

$0004 GetPageState

$0005 PageFaultFatal

$0006 DebuggerLockMemory

$0007 DebuggerUnlockMemory

$0008 EnterSupervisorMode

You should use the Gestalt function to determine whether virtual memory is available before calling the DebuggerGetMax function.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)