class ProcessHandleObserver

Defined at line 16 of file ../../src/developer/debug/debug_agent/process_handle_observer.h

Callback interface used by ProcessHandle to notify about events. This is like the native

ZirconExceptionWatcher but adapted to use the abstract ExceptionHandle types.

Public Methods

void OnProcessTerminated ()
void OnThreadStarting (std::unique_ptr<ExceptionHandle> exception)
void OnThreadExiting (std::unique_ptr<ExceptionHandle> exception)
void OnException (std::unique_ptr<ExceptionHandle> exception)
void OnProcessStarting (std::unique_ptr<ProcessHandle> new_process_handle)

Linux only (Fuchsia process launches are detected on jobs). This is called on the process

executing the fork and is passed the newly forked process.