mirror of
https://github.com/open-goal/jak-project
synced 2026-06-29 19:42:41 -04:00
Add some debugger memory utilities (#109)
* add some memory utilities * run waitpid in a separate thread and support very simple breakpoints * fix breakpoints * add missing windows stub function * fix error message on exit
This commit is contained in:
@@ -17,6 +17,11 @@ Val* Compiler::compile_exit(const goos::Object& form, const goos::Object& rest,
|
||||
(void)env;
|
||||
auto args = get_va(form, rest);
|
||||
va_check(form, args, {}, {});
|
||||
|
||||
if (m_debugger.is_attached()) {
|
||||
m_debugger.detach();
|
||||
}
|
||||
|
||||
if (m_listener.is_connected()) {
|
||||
m_listener.send_reset(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user