class ZirconExceptionHandle

Defined at line 21 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.h

Wraps a zx::exception, which is expected to be valid for the lifetime of an instance of this

class.

Public Methods

std::unique_ptr<ThreadHandle> GetThreadHandle ()

Defined at line 12 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

std::unique_ptr<ProcessHandle> GetProcessHandle ()

Defined at line 19 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

debug_ipc::ExceptionType GetType (const ThreadHandle & thread)

Defined at line 26 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

void ZirconExceptionHandle (zx::exception exception, const zx_exception_info_t & info, std::optional<zx_exception_report_t> report)

This is used for normal exceptions as well as thread start and stop events (delivered as

exceptions) so the exception report (which is used only for what you would normally think of as

"exceptions") will be nullopt in those cases.

Defined at line 26 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.h

void ~ZirconExceptionHandle ()

Defined at line 30 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.h

fit::result<debug::Status, Resolution> GetResolution ()

Defined at line 30 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

debug::Status SetResolution (Resolution state)

Defined at line 47 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

fit::result<debug::Status, debug_ipc::ExceptionStrategy> GetStrategy ()

Defined at line 61 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

debug::Status SetStrategy (debug_ipc::ExceptionStrategy strategy)

Defined at line 76 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

debug_ipc::ExceptionRecord GetRecord ()

Defined at line 85 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

uint64_t GetPid ()

Defined at line 91 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc

uint64_t GetTid ()

Defined at line 93 of file ../../src/developer/debug/debug_agent/zircon_exception_handle.cc