evaluate breakpoints in per-breakpoint space, rather than a top-level space for all of the debugger entities

This commit is contained in:
Ryan Fleury
2024-08-15 14:57:16 -07:00
parent 01cf3d39f1
commit 82fcc9ed4d
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -3696,6 +3696,10 @@ df_eval_space_read(void *u, E_Space space, void *out, Rng1U64 range)
switch(entity->kind)
{
default:{}break;
case DF_EntityKind_Breakpoint:
{
// TODO(rjf)
}break;
case DF_EntityKind_Process:
{
Temp scratch = scratch_begin(0, 0);
+1 -2
View File
@@ -1422,9 +1422,8 @@ df_watch_view_build(DF_Window *ws, DF_Panel *panel, DF_View *view, DF_WatchViewS
E_TypeKey bp_type = e_type_key_cons(.kind = E_TypeKind_Struct, .name = str8_lit("Breakpoint"), .members = bp_members_array.v, .count = bp_members_array.count);
E_Eval eval =
{
.value = {.u64 = (U64)bp},
.mode = E_Mode_Offset,
.space = (U64)df_entity_root(),
.space = (U64)bp,
.type_key = bp_type,
};
DF_CfgTable cfg_table = {0};