IDA SDK
Public Attributes | Public Member Functions | List of all members
debug_event_t Struct Reference

Detailed Description

This structure is used only when detailed information about a debug event is needed.

Public Attributes

union {
   module_info_t   modinfo
 PROCESS_START, PROCESS_ATTACH, LIBRARY_LOAD
 
   int   exit_code
 PROCESS_EXIT, THREAD_EXIT
 
   char   info [MAXSTR]
 LIBRARY_UNLOAD (unloaded library name) INFORMATION (will be displayed in the messages window if not empty)
 
   e_breakpoint_t   bpt
 BREAKPOINT
 
   e_exception_t   exc
 EXCEPTION
 
}; 
 
Note:

The following fields must be filled for all events:

event_id_t eid
 Event code (used to decipher 'info' union)
 
pid_t pid
 Process where the event occurred.
 
thid_t tid
 Thread where the event occurred.
 
ea_t ea
 Address where the event occurred.
 
bool handled
 Is event handled by the debugger?. More...
 

Public Member Functions

ea_t bpt_ea (void) const
 On some systems with special memory mappings the triggered ea might be different from the actual ea. More...
 

Member Function Documentation

ea_t debug_event_t::bpt_ea ( void  ) const
inline

On some systems with special memory mappings the triggered ea might be different from the actual ea.

Calculate the address to use.

Member Data Documentation

bool debug_event_t::handled

Is event handled by the debugger?.

(from the system's point of view) Meaningful for EXCEPTION events


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