class ProcessImpl

Defined at line 29 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 38 of file ../../src/developer/debug/zxdb/client/process_impl.cc

TargetImpl * target ()

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

Target * GetTarget ()

Process implementation:

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

uint64_t GetKoid ()

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

const std::string & GetName ()

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

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

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

ProcessSymbols * GetSymbols ()

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

void ~ProcessImpl ()

Defined at line 61 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 70 of file ../../src/developer/debug/zxdb/client/process_impl.cc

ThreadImpl * GetThreadImplFromKoid (uint64_t koid)

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

bool HasLoadedSymbols ()

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

SymbolStatus GetSymbolStatus ()

Defined at line 90 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 96 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 111 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 130 of file ../../src/developer/debug/zxdb/client/process_impl.cc

std::vector<Thread *> GetThreads ()

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

Thread * GetThreadFromKoid (uint64_t koid)

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

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

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

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

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

void Continue (bool forward_exceptions)

Defined at line 187 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 198 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void CancelAllThreadControllers ()

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

fxl::RefPtr<SymbolDataProvider> GetSymbolDataProvider ()

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

void GetTLSHelpers (GetTLSHelpersCallback cb)

Defined at line 226 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 238 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 281 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 303 of file ../../src/developer/debug/zxdb/client/process_impl.cc

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

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

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

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

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

Defined at line 339 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 344 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnThreadExiting (const debug_ipc::ThreadRecord & record)

Defined at line 360 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 416 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 434 of file ../../src/developer/debug/zxdb/client/process_impl.cc

void OnSymbolLoadFailure (const Err & err)

ProcessSymbols::Notifications implementation (public portion):

Defined at line 603 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 374 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 608 of file ../../src/developer/debug/zxdb/client/process_impl.cc

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

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

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

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