port debugger frontend to using eval visualization layer, over old debug engine code

This commit is contained in:
Ryan Fleury
2024-09-10 17:10:48 -07:00
parent bb50e88141
commit 299ea04539
9 changed files with 323 additions and 238 deletions
+2 -2
View File
@@ -1657,8 +1657,8 @@ df_code_slice(DF_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
String8 eval_string = {0};
if(!e_type_key_match(e_type_key_zero(), eval.type_key))
{
D_CfgTable cfg_table = {0};
eval_string = df_value_string_from_eval(scratch.arena, D_EvalVizStringFlag_ReadOnlyDisplayRules, 10, params->font, params->font_size, params->font_size*60.f, eval, 0, &cfg_table);
EV_ViewRuleList view_rules = {0};
eval_string = df_value_string_from_eval(scratch.arena, D_EvalVizStringFlag_ReadOnlyDisplayRules, 10, params->font, params->font_size, params->font_size*60.f, eval, 0, &view_rules);
}
ui_spacer(ui_em(1.5f, 1.f));
ui_set_next_pref_width(ui_children_sum(1));