| 861 | |
| 862 | |
| 863 | void 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 | |
| 882 | bool DebuggerState::GetRemoteBase(uint64_t& address) |
no test coverage detected