class MockThread
Defined at line 18 of file ../../src/developer/debug/zxdb/client/mock_thread.h
Public Methods
void MockThread (Process * process)
The process and frame pointers must outlive this class.
Defined at line 21 of file ../../src/developer/debug/zxdb/client/mock_thread.h
Process * GetProcess ()
Thread implementation:
Defined at line 25 of file ../../src/developer/debug/zxdb/client/mock_thread.h
uint64_t GetKoid ()
Defined at line 26 of file ../../src/developer/debug/zxdb/client/mock_thread.h
const std::string & GetName ()
Defined at line 27 of file ../../src/developer/debug/zxdb/client/mock_thread.h
std::optional<debug_ipc::ThreadRecord::State> GetState ()
Defined at line 28 of file ../../src/developer/debug/zxdb/client/mock_thread.h
debug_ipc::ThreadRecord::BlockedReason GetBlockedReason ()
Defined at line 29 of file ../../src/developer/debug/zxdb/client/mock_thread.h
std::optional<StopInfo> CurrentStopInfo ()
Defined at line 32 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void Pause (fit::callback<void ()> on_paused)
Defined at line 33 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void Continue (bool forward_exception)
Defined at line 37 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void AddController (std::unique_ptr<ThreadController> controller, fit::callback<void (const Err &)> on_done, AddControllerOptions options)
Defined at line 38 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void ContinueWith (std::unique_ptr<ThreadController> controller, fit::callback<void (const Err &)> on_continue)
Defined at line 41 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void AddPostStopTask (PostStopTask task)
Defined at line 43 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void CancelAllThreadControllers ()
Defined at line 44 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void ResumeFromAsyncThreadController (std::optional<debug_ipc::ExceptionType> )
Defined at line 45 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void JumpTo (uint64_t new_address, fit::callback<void (const Err &)> cb)
Defined at line 46 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void NotifyControllerDone (ThreadController * controller)
Defined at line 47 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void StepInstructions (uint64_t count)
Defined at line 48 of file ../../src/developer/debug/zxdb/client/mock_thread.h
const Stack & GetStack ()
Defined at line 49 of file ../../src/developer/debug/zxdb/client/mock_thread.h
Stack & GetStack ()
Defined at line 50 of file ../../src/developer/debug/zxdb/client/mock_thread.h
const AsyncTaskTree & GetAsyncTaskTree ()
Defined at line 51 of file ../../src/developer/debug/zxdb/client/mock_thread.h
AsyncTaskTree & GetAsyncTaskTree ()
Defined at line 52 of file ../../src/developer/debug/zxdb/client/mock_thread.h
void SetState (std::optional<debug_ipc::ThreadRecord::State> state, debug_ipc::ThreadRecord::BlockedReason blocked_reason)
Defined at line 54 of file ../../src/developer/debug/zxdb/client/mock_thread.h