improve debugger disasm, :sym-name and fix Windows builds (#959)

* improve debugger disasm, `:sym-name` and fix Windows builds

* >:(

* use this inline constexpr thing??

* fine use strings then

* please.... please work...

* fix windows debugger oopsie

* display rip as goal addr as well

* [debugger] attempt to backtrace even if landed on some garbage memory

* Update CMakePresets.json
This commit is contained in:
ManDude
2021-11-13 03:00:41 +00:00
committed by GitHub
parent 08d3294fcd
commit ff50cf2552
9 changed files with 133 additions and 48 deletions
+1 -1
View File
@@ -488,7 +488,7 @@ bool check_stopped(const ThreadID& tid, SignalInfo* out) {
break;
default:
out->kind = SignalInfo::EXCEPTION;
out->msg = fmt::format("{} [0x{:X}]", exc, win32_exception_code_to_charp(exc));
out->msg = fmt::format("{} [0x{:X}]", win32_exception_code_to_charp(exc), exc);
break;
}
}