mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-01 19:48:11 +00:00
float run/mem/reg generations out of demon, into core; fix issue of demon access synchronization w/ mem gens, causing failure-to-update-stale-parts-of-process-memory-cache
This commit is contained in:
@@ -17193,10 +17193,13 @@ rd_frame(void)
|
||||
os_append_data_to_file_path(rd_state->log_path, log.strings[LogMsgKind_Info]);
|
||||
if(log.strings[LogMsgKind_UserError].size != 0)
|
||||
{
|
||||
String8 error_log = log.strings[LogMsgKind_UserError];
|
||||
String8List error_log_lines = str8_split(scratch.arena, error_log, (U8 *)"\n", 1, 0);
|
||||
String8 error_log_string = str8_list_join(scratch.arena, &error_log_lines, &(StringJoin){.sep = str8_lit(" ")});
|
||||
for(RD_WindowState *ws = rd_state->first_window_state; ws != &rd_nil_window_state; ws = ws->order_next)
|
||||
{
|
||||
ws->error_string_size = Min(sizeof(ws->error_buffer), log.strings[LogMsgKind_UserError].size);
|
||||
MemoryCopy(ws->error_buffer, log.strings[LogMsgKind_UserError].str, ws->error_string_size);
|
||||
ws->error_string_size = Min(sizeof(ws->error_buffer), error_log_string.size);
|
||||
MemoryCopy(ws->error_buffer, error_log_string.str, ws->error_string_size);
|
||||
ws->error_t = 1.f;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
// [ ] hardware breakpoints regression
|
||||
// [ ] process memory waiting regression
|
||||
// [ ] "evict module image info from cache" crash, on module close sometimes
|
||||
// - reproduction steps:
|
||||
// - raddbg debugging raddbg
|
||||
// - [parent] breakpoint on memory read failure case
|
||||
// - [child] breakpoint on ctrl_bindings init in g0
|
||||
// - f5x3
|
||||
//
|
||||
//- memory view
|
||||
// [ ] have smaller visible range than entire memory
|
||||
|
||||
Reference in New Issue
Block a user