class ProcessImpl

Defined at line 30 of file ../../src/developer/debug/zxdb/client/process_impl.h

Public Methods

void ProcessImpl (TargetImpl * target, uint64_t koid, const std::string & name, Process::StartType start_type, const std::vector<debug_ipc::ComponentInfo> & component_info, std::optional<debug_ipc::AddressRegion> shared_aspace)

Defined at line 40 of file ../../src/developer/debug/zxdb/client/process_impl.cc

TargetImpl * target ()

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

Target * GetTarget ()

Process implementation:

Defined at line 46 of file ../../src/developer/debug/zxdb/client/process_impl.h

uint64_t GetKoid ()

Defined at line 47 of file ../../src/developer/debug/zxdb/client/process_impl.h

const std::string & GetName ()

Defined at line 48 of file ../../src/developer/debug/zxdb/client/process_impl.h

const std::vector<debug_ipc::ComponentInfo> & GetComponentInfo ()

Defined at line 49 of file ../../src/developer/debug/zxdb/client/process_impl.h

ProcessSymbols * GetSymbols ()

Defined at line 52 of file ../../src/developer/debug/zxdb/client/process_impl.h

void ~ProcessImpl ()

Defined at line 63 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::unique_ptr<ProcessImpl> FromPreviousProcess (TargetImpl * target, const debug_ipc::ProcessRecord & record)

static.

Defined at line 72 of file ../../src/developer/debug/zxdb/client/process_impl.cc

ThreadImpl * GetThreadImplFromKoid (uint64_t koid)

Defined at line 87 of file ../../src/developer/debug/zxdb/client/process_impl.cc

bool HasLoadedSymbols ()

Defined at line 94 of file ../../src/developer/debug/zxdb/client/process_impl.cc

SymbolStatus GetSymbolStatus ()

Defined at line 96 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void SetMemoryBlocks (uint64_t thread_koid, std::vector<debug_ipc::MemoryBlock> memory_blocks)

This is used when a breakpoint with automation is received, this stores the extra data that

will be used later.

Defined at line 97 of file ../../src/developer/debug/zxdb/client/process_impl.h

void ClearCachedMemory ()

Clears any memory blocks cached by |FetchMemoryRanges|.

Defined at line 112 of file ../../src/developer/debug/zxdb/client/process_impl.h

void GetModules (bool force_reload_symbols, fit::callback<void (const Err &, std::vector<debug_ipc::Module>)> )

Defined at line 117 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void GetAspace (uint64_t address, fit::callback<void (const Err &, std::vector<debug_ipc::AddressRegion>)> )

Defined at line 136 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::vector<Thread *> GetThreads ()

Defined at line 150 of file ../../src/developer/debug/zxdb/client/process_impl.cc

Thread * GetThreadFromKoid (uint64_t koid)

Defined at line 158 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void SyncThreads (fit::callback<void ()> callback)

Defined at line 160 of file ../../src/developer/debug/zxdb/client/process_impl.cc

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

Defined at line 174 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void Continue (bool forward_exceptions)

Defined at line 216 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void ContinueUntil (std::vector<InputLocation> location, fit::callback<void (const Err &)> cb)

Defined at line 229 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void CancelAllThreadControllers ()

Defined at line 246 of file ../../src/developer/debug/zxdb/client/process_impl.cc

fxl::RefPtr<SymbolDataProvider> GetSymbolDataProvider ()

Defined at line 251 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void GetTLSHelpers (GetTLSHelpersCallback cb)

Defined at line 259 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void ReadMemory (uint64_t address, uint32_t size, fit::callback<void (const Err &, MemoryDump)> callback)

Defined at line 271 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void WriteMemory (uint64_t address, std::vector<uint8_t> data, fit::callback<void (const Err &)> callback)

Defined at line 314 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void LoadInfoHandleTable (fit::callback<void (ErrOr<std::vector<debug_ipc::InfoHandle>>)> callback)

Defined at line 338 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::optional<debug_ipc::AddressRegion> GetSharedAddressSpace ()

Defined at line 355 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::vector<AsyncTaskProvider *> GetAsyncTaskProvidersForLanguage (ExprLanguage language)

Defined at line 359 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void AddAsyncTaskProviderForTesting (ExprLanguage language, std::unique_ptr<AsyncTaskProvider> provider)

Defined at line 374 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnThreadStarting (const debug_ipc::ThreadRecord & record)

Notifications from the agent that a thread has started or exited.

Defined at line 379 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnThreadExiting (const debug_ipc::ThreadRecord & record)

Defined at line 395 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnModules (std::vector<debug_ipc::Module> modules)

Notification that the list of loaded modules may have been updated.

Defined at line 451 of file ../../src/developer/debug/zxdb/client/process_impl.cc

bool HandleIO (const debug_ipc::NotifyIO & )

Returns true if the caller should show the output. False means silence.

Defined at line 469 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnSymbolLoadFailure (const Err & err)

ProcessSymbols::Notifications implementation (public portion):

Defined at line 638 of file ../../src/developer/debug/zxdb/client/process_impl.cc

debug_ipc::ResumeRequest::How OnException (const StopInfo & info)

Called by a thread instance when an exception occurs, before any automatic action has been

decided.

Defined at line 409 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void FetchMemoryRanges (std::vector<std::pair<uint64_t, uint32_t>> ranges, fit::callback<void ()> done)

unwinder::AsyncMemory::Delegate implementation.

Defined at line 690 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void PostTask (fit::callback<void ()> callback)

Defined at line 753 of file ../../src/developer/debug/zxdb/client/process_impl.cc

unwinder::Error ReadBytes (uint64_t addr, uint64_t size, void * dst)

Defined at line 760 of file ../../src/developer/debug/zxdb/client/process_impl.cc