mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-21 13:22:23 -08:00
first pass at watch expr location locks - still some jank around the edges due to eval incompleteness, but works for basic cases
This commit is contained in:
1 parent
ae8960d563
commit
0fe5aa5a43
11 files changed
+258
-149
No files matched your search
@@ -1225,9 +1225,26 @@ d_modules_from_dbgi_key(Arena *arena, DI_Key dbgi_key)
|
||||
return list;
|
||||
}
|
||||
|
||||
internal D_Entity *
|
||||
d_process_from_id(U64 id)
|
||||
{
|
||||
// TODO(rjf): @multimachine need machine ID here?
|
||||
D_Entity *process = &d_entity_nil;
|
||||
D_EntityArray processes = d_entity_array_from_kind(D_EntityKind_Process);
|
||||
for EachIndex(idx, processes.count)
|
||||
{
|
||||
if(processes.v[idx]->id == id)
|
||||
{
|
||||
process = processes.v[idx];
|
||||
}
|
||||
}
|
||||
return process;
|
||||
}
|
||||
|
||||
internal D_Entity *
|
||||
d_thread_from_id(U64 id)
|
||||
{
|
||||
// TODO(rjf): @multimachine need machine ID here?
|
||||
D_Entity *thread = &d_entity_nil;
|
||||
D_EntityArray threads = d_entity_array_from_kind(D_EntityKind_Thread);
|
||||
for EachIndex(idx, threads.count)
|
||||
|
||||
@@ -519,6 +519,7 @@ internal void d_entity_equip_string(D_EntityCtxRWStore *store, D_Entity *entity,
|
||||
internal D_EntityCtxLookupAccel *d_thread_entity_ctx_lookup_accel(void);
|
||||
internal D_EntityArray d_entity_array_from_kind(D_EntityKind kind);
|
||||
internal D_EntityList d_modules_from_dbgi_key(Arena *arena, DI_Key dbgi_key);
|
||||
internal D_Entity *d_process_from_id(U64 id);
|
||||
internal D_Entity *d_thread_from_id(U64 id);
|
||||
|
||||
//- rjf: applying events to entity caches
|
||||
|
||||
Reference in new issue
Block a user