mirror of
https://github.com/open-goal/jak-project
synced 2026-08-16 21:28:00 -04:00
try to fix debugger issue
This commit is contained in:
@@ -57,6 +57,9 @@ bool Debugger::is_attached() const {
|
||||
*/
|
||||
void Debugger::detach() {
|
||||
if (is_valid() && m_attached) {
|
||||
if (!is_halted()) {
|
||||
do_break();
|
||||
}
|
||||
stop_watcher();
|
||||
xdbg::close_memory(m_debug_context.tid, &m_memory_handle);
|
||||
xdbg::detach_and_resume(m_debug_context.tid);
|
||||
|
||||
Reference in New Issue
Block a user