pub unsafe extern "C" fn svcGetDebugThreadContext(
    context: *mut ThreadContext,
    debug: Handle,
    threadId: u32_,
    controlFlags: ThreadContextControlFlags
) -> Result
Expand description

Fetches the saved registers of a thread, either inactive or awaiting svcContinueDebugEvent, belonging to a debugged process.


  • context (direction out) - Values of the registers to fetch, see ThreadContext.
  • debug - Debug handle of the parent process.
  • threadId - ID of the thread to fetch the saved registers of.
  • controlFlags - Which registers to fetch, see ThreadContextControlFlags.