mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 21:08:40 +00:00
modules view, watch window style
This commit is contained in:
@@ -1902,10 +1902,11 @@ rd_eval_space_read(void *u, E_Space space, void *out, Rng1U64 range)
|
||||
CTRL_Entity *entity = rd_ctrl_entity_from_eval_space(space);
|
||||
|
||||
// rjf: produce meta evaluation
|
||||
meval->frozen = entity->is_frozen;
|
||||
meval->color = entity->rgba;
|
||||
meval->label = entity->string;
|
||||
meval->id = entity->id;
|
||||
meval->frozen = entity->is_frozen;
|
||||
meval->vaddr_range = entity->vaddr_range;
|
||||
meval->color = entity->rgba;
|
||||
meval->label = entity->string;
|
||||
meval->id = entity->id;
|
||||
if(entity->kind == CTRL_EntityKind_Thread)
|
||||
{
|
||||
DI_Scope *di_scope = di_scope_open();
|
||||
@@ -1928,6 +1929,13 @@ rd_eval_space_read(void *u, E_Space space, void *out, Rng1U64 range)
|
||||
}
|
||||
di_scope_close(di_scope);
|
||||
}
|
||||
if(entity->kind == CTRL_EntityKind_Module)
|
||||
{
|
||||
DI_Key dbgi_key = ctrl_dbgi_key_from_module(entity);
|
||||
meval->label = str8_skip_last_slash(entity->string);
|
||||
meval->exe = path_normalized_from_string(scratch.arena, entity->string);
|
||||
meval->dbg = path_normalized_from_string(scratch.arena, dbgi_key.path);
|
||||
}
|
||||
}
|
||||
|
||||
// rjf: debugger entity -> produce meta eval
|
||||
|
||||
Reference in New Issue
Block a user