mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-19 20:50:09 -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)
|
||||
|
||||
Reference in new issue
Block a user