Debugging
Debug your kernel extensions using the kernel debugger, assertions, exceptions, backtraces, and logging.
Topics
Kernel Debugging
Debuggerkdbg_get_cpukdbg_get_timestampkdbg_set_cpukdbg_set_timestampkdbg_set_timestamp_and_cpukdebug_commpage_statekdebug_debugid_enabledkdebug_debugid_explicitly_enabledkdebug_using_continuous_timekernel_debugkernel_debug1kernel_debug_enterkernel_debug_filteredkernel_debug_flagskernel_debug_register_callback
kdp
Assertions
Assertassert_waitassert_wait_deadlineassert_wait_deadline_with_leewayassert_wait_timeoutassert_wait_timeout_with_leeway
Backtrace
Exceptions
catch_exception_raisecatch_exception_raise_statecatch_exception_raise_state_identitycatch_mach_exception_raisecatch_mach_exception_raise_statecatch_mach_exception_raise_state_identity