class MockExceptionHandle
Defined at line 23 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
ExceptionHandle abstracts zx::exception, allowing for a more straightforward
implementation in tests in overrides of this class.
Public Methods
void MockExceptionHandle ()
Defined at line 30 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
void MockExceptionHandle (uint64_t process_koid, uint64_t thread_koid, debug_ipc::ExceptionType type)
Defined at line 32 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
void MockExceptionHandle (uint64_t thread_koid, debug_ipc::ExceptionType type)
Defined at line 36 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
void MockExceptionHandle (SetStateCallback on_state_change, SetStrategyCallback on_strategy_change)
Defined at line 40 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
void ~MockExceptionHandle ()
Defined at line 44 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
std::unique_ptr<ProcessHandle> GetProcessHandle ()
Defined at line 46 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
std::unique_ptr<ThreadHandle> GetThreadHandle ()
Defined at line 50 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
debug_ipc::ExceptionType GetType (const ThreadHandle & thread)
Defined at line 54 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
void set_type (debug_ipc::ExceptionType type)
Defined at line 56 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
fit::result<debug::Status, Resolution> GetResolution ()
Defined at line 58 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
debug::Status SetResolution (Resolution resolution)
Defined at line 62 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
fit::result<debug::Status, debug_ipc::ExceptionStrategy> GetStrategy ()
Defined at line 68 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
debug::Status SetStrategy (debug_ipc::ExceptionStrategy strategy)
Defined at line 72 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
debug_ipc::ExceptionRecord GetRecord ()
Defined at line 78 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
uint64_t GetPid ()
Defined at line 80 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h
uint64_t GetTid ()
Defined at line 81 of file ../../src/developer/debug/debug_agent/mock_exception_handle.h