mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-12 00:18:09 +00:00
on new debug session: close all loaded debug infos, assume none need to stick around
This commit is contained in:
@@ -16387,6 +16387,18 @@ rd_frame(void)
|
||||
switch(evt->kind)
|
||||
{
|
||||
default:{}break;
|
||||
case D_EventKind_NewProc:
|
||||
{
|
||||
D_EntityArray all_processes = d_entity_array_from_kind(&d_user_state->ctrl_entity_store->ctx, D_EntityKind_Process);
|
||||
if(all_processes.count == 1)
|
||||
{
|
||||
CFG_NodePtrList dbg_infos = cfg_node_top_level_list_from_string(scratch.arena, str8_lit("debug_info"));
|
||||
for EachNode(n, CFG_NodePtrNode, dbg_infos.first)
|
||||
{
|
||||
cfg_node_release(rd_state->cfg, n->v);
|
||||
}
|
||||
}
|
||||
}break;
|
||||
case D_EventKind_NewModule:
|
||||
{
|
||||
D_Entity *module = d_entity_from_handle(&d_user_state->ctrl_entity_store->ctx, evt->entity);
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
//
|
||||
// [ ] "autos" collection, which can be evaluated
|
||||
// [ ] show "autos" inline in source code near thread?
|
||||
// [ ] step out of scopes / loops
|
||||
// [ ] memory_size(...) view for quickly evaluating memory sizes
|
||||
// [ ] value coloring view in watch window, so you can quickly scroll & see values outside of a threshold
|
||||
// [x] step out of scopes / loops
|
||||
//
|
||||
// [ ] asan pass
|
||||
// [ ] policy for closing debug info which is no longer relevant?
|
||||
// [x] policy for closing debug info which is no longer relevant?
|
||||
// [ ] codebase-internal barrier impl (win7/linux support)
|
||||
// [ ] asan pass
|
||||
// [ ] external window focusing bugs
|
||||
// [ ] PDB -> RDI conversion memory usage
|
||||
// [x] killing/restarting thread performance (#780)
|
||||
|
||||
Reference in New Issue
Block a user