fill out first pass implementations of raddbg_markup features; thread names, thread colors, format-string output-debug-string helper, attachment-checking

This commit is contained in:
Ryan Fleury
2025-03-28 10:56:41 -07:00
parent 4cc883a353
commit 3911a66b30
10 changed files with 137 additions and 31 deletions
+7
View File
@@ -2378,6 +2378,13 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls)
}
}break;
//- rjf: fill set-thread-color info
case DMN_W32_EXCEPTION_RADDBG_SET_THREAD_COLOR:
{
e->kind = DMN_EventKind_SetThreadColor;
e->code = exception->ExceptionInformation[1];
}break;
//- rjf: unhandled exception case
default:
{
+1
View File
@@ -56,6 +56,7 @@
#define DMN_W32_EXCEPTION_SET_THREAD_NAME 0x406d1388u
#define DMN_w32_EXCEPTION_CLRDBG_NOTIFICATION 0x04242420u
#define DMN_w32_EXCEPTION_CLR 0xE0434352u
#define DMN_W32_EXCEPTION_RADDBG_SET_THREAD_COLOR 0x00524144u
////////////////////////////////
//~ rjf: Win32 Register Codes