MCPcopy Create free account
hub / github.com/Vector35/debugger / UpdateCaches

Method UpdateCaches

core/debuggerstate.cpp:863–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861
862
863void DebuggerState::UpdateCaches()
864{
865 // TODO: this is a temporary fix to address the problem of BN handing after the target exits. The core problem is
866 // the debugger still tries to update caches after the target has exited and the socket is closed, so it hangs
867 // while waiting for data. A proper fix is https://github.com/Vector35/debugger_native/issues/104
868 if (!IsConnected())
869 return;
870
871 if (m_registers->IsDirty())
872 m_registers->Update();
873
874 if (m_threads->IsDirty())
875 m_threads->Update();
876
877 if (m_modules->IsDirty())
878 m_modules->Update();
879}
880
881
882bool DebuggerState::GetRemoteBase(uint64_t& address)

Callers 1

EventHandlerMethod · 0.80

Calls 2

UpdateMethod · 0.80
IsDirtyMethod · 0.45

Tested by

no test coverage detected