class MockThread

Defined at line 17 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 20 of file ../../src/developer/debug/zxdb/client/mock_thread.h

Process * GetProcess ()

Thread implementation:

Defined at line 24 of file ../../src/developer/debug/zxdb/client/mock_thread.h

uint64_t GetKoid ()

Defined at line 25 of file ../../src/developer/debug/zxdb/client/mock_thread.h

const std::string & GetName ()

Defined at line 26 of file ../../src/developer/debug/zxdb/client/mock_thread.h

std::optional<debug_ipc::ThreadRecord::State> GetState ()

Defined at line 27 of file ../../src/developer/debug/zxdb/client/mock_thread.h

debug_ipc::ThreadRecord::BlockedReason GetBlockedReason ()

Defined at line 28 of file ../../src/developer/debug/zxdb/client/mock_thread.h

std::optional<StopInfo> CurrentStopInfo ()

Defined at line 31 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void Pause (fit::callback<void ()> on_paused)

Defined at line 32 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void Continue (bool forward_exception)

Defined at line 36 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 37 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void AddPostStopTask (PostStopTask task)

Defined at line 39 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void CancelAllThreadControllers ()

Defined at line 40 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void ResumeFromAsyncThreadController (std::optional<debug_ipc::ExceptionType> )

Defined at line 41 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 42 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void NotifyControllerDone (ThreadController * controller)

Defined at line 43 of file ../../src/developer/debug/zxdb/client/mock_thread.h

void StepInstructions (uint64_t count)

Defined at line 44 of file ../../src/developer/debug/zxdb/client/mock_thread.h

const Stack & GetStack ()

Defined at line 45 of file ../../src/developer/debug/zxdb/client/mock_thread.h

Stack & GetStack ()

Defined at line 46 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 48 of file ../../src/developer/debug/zxdb/client/mock_thread.h