libnx v4.12.0
Loading...
Searching...
No Matches
Data Fields
DebugEventInfo Struct Reference

DebugEvent structure. More...

#include <svc.h>

Data Fields

u32 type
 DebugEventType
 
u32 flags
 DebugEventFlag
 
u64 thread_id
 
union { 
 
   struct { 
 
      u64   program_id 
 
      u64   process_id 
 
      char   name [0xC] 
 
      u32   flags 
 CreateProcessFlags
 
      void *   user_exception_context_address 
 [5.0.0+]
 
   }   create_process 
 DebugEventType_CreateProcess.
 
   struct { 
 
      u64   thread_id 
 
      void *   tls_address 
 
      void *   entrypoint 
 [1.0.0-10.2.0]
 
   }   create_thread 
 DebugEventType_CreateThread.
 
   struct { 
 
      u32   reason 
 ProcessExitReason
 
   }   exit_process 
 DebugEventType_ExitProcess.
 
   struct { 
 
      u32   reason 
 ThreadExitReason
 
   }   exit_thread 
 DebugEventType_ExitThread.
 
   struct { 
 
      u32   type 
 DebugException
 
      void *   address 
 
      union { 
 
         struct { 
 
            u32   insn 
 
         }   undefined_instruction 
 DebugException_UndefinedInstruction.
 
         struct { 
 
            void *   address 
 
         }   data_abort 
 DebugException_DataAbort.
 
         struct { 
 
            void *   address 
 
         }   alignment_fault 
 DebugException_AlignmentFault.
 
         struct { 
 
            u32   type 
 BreakPointType
 
            void *   address 
 
         }   break_point 
 DebugException_BreakPoint.
 
         struct { 
 
            u32   break_reason 
 BreakReason
 
            void *   address 
 
            size_t   size 
 
         }   user_break 
 DebugException_UserBreak.
 
         struct { 
 
            u64   active_thread_ids [4] 
 
         }   debugger_break 
 DebugException_DebuggerBreak.
 
         struct { 
 
            u32   id 
 
         }   undefined_system_call 
 DebugException_UndefinedSystemCall.
 
         u64   raw 
 
      }   specific 
 
   }   exception 
 DebugEventType_Exception.
 
info 
 

Detailed Description

DebugEvent structure.

Field Documentation

◆ flags

u32 DebugEventInfo::flags

◆ reason

u32 DebugEventInfo::reason

◆ type

u32 DebugEventInfo::type

The documentation for this struct was generated from the following file: