class ProcessObserver
Defined at line 20 of file ../../src/developer/debug/zxdb/client/process_observer.h
Public Methods
const char * DestroyReasonToString (DestroyReason )
static
Defined at line 12 of file ../../src/developer/debug/zxdb/client/process_observer.cc
void DidCreateProcess (Process * process, uint64_t timestamp)
Called after a process is created.
Defined at line 27 of file ../../src/developer/debug/zxdb/client/process_observer.h
void WillDestroyProcess (Process * process, DestroyReason reason, int exit_code, uint64_t timestamp)
Called after detaching from or destroying a process. The Process object will still exist on the
Target but the Target will report |state == kNone|.
The exit code will only have meaning when reason == kExit, otherwise it will be 0.
Defined at line 33 of file ../../src/developer/debug/zxdb/client/process_observer.h
void WillLoadModuleSymbols (Process * process, int num_modules)
Called immediately before loading module symbols for an attached process. Loading symbols is
synchronous, since most actions the user would want to take require symbols to be loaded.
Defined at line 38 of file ../../src/developer/debug/zxdb/client/process_observer.h
void DidLoadModuleSymbols (Process * process, LoadedModuleSymbols * module)
Notification that a module with symbols is ready to use.
Note: There is currently no notification for module loads absent symbol information. If that's
necessary, this will need refactoring.
Defined at line 44 of file ../../src/developer/debug/zxdb/client/process_observer.h
void DidLoadAllModuleSymbols (Process * process)
Notification that we're completely done loading and indexing all modules and all
|DidLoadModuleSymbols| notifications have been dispatched.
Defined at line 48 of file ../../src/developer/debug/zxdb/client/process_observer.h
void WillUnloadModuleSymbols (Process * process, LoadedModuleSymbols * module)
Notification that the given module with symbols is about to be removed.
Defined at line 51 of file ../../src/developer/debug/zxdb/client/process_observer.h
void OnSymbolLoadFailure (Process * process, const Err & err)
Called when symbols for a loaded binary could not be loaded.
Defined at line 54 of file ../../src/developer/debug/zxdb/client/process_observer.h
void WillAutomaticallyContinue (debug_ipc::ResumeRequest::How how, const StopInfo & info)
Called when a process has decided that it will automatically continue a thread to automatically
over the given exception in |info|.
Defined at line 58 of file ../../src/developer/debug/zxdb/client/process_observer.h
Enumerations
enum DestroyReason
| Name | Value |
|---|---|
| kExit | 0 |
| kDetach | 1 |
| kKill | 2 |
Reason for destroying a process object.
Defined at line 23 of file ../../src/developer/debug/zxdb/client/process_observer.h