@@ -73,14 +73,15 @@ RD_VocabularyInfo rd_vocabulary_info_table[41] =
7373{str8_lit_comp ("label" ), str8_lit_comp ("labels" ), str8_lit_comp ("Label" ), str8_lit_comp ("Labels" ), RD_IconKind_Null },
7474};
7575
76- RD_CfgNameSchemaPair rd_cfg_name_schema_pair_table [6 ] =
76+ RD_CfgNameSchemaPair rd_cfg_name_schema_pair_table [7 ] =
7777{
7878{str8_lit_comp ("settings" ), str8_lit_comp ("x:\n{\n @default(1) 'hover_animations': bool,\n @default(1) 'press_animations': bool,\n @default(0) 'focus_animations': bool,\n @default(1) 'tooltip_animations': bool,\n @default(1) 'menu_animations': bool,\n @default(1) 'scrolling_animations': bool,\n @default(1) 'background_blur': bool,\n @default(1) 'thread_lines': bool,\n @default(1) 'breakpoint_lines': bool,\n @default(1) 'thread_glow': bool,\n @default(1) 'breakpoint_glow': bool,\n @default(0) 'opaque_backgrounds': bool,\n @default(1) 'smooth_main_text': bool,\n @default(0) 'smooth_code_text': bool,\n @default(1) 'hint_main_text': bool,\n @default(1) 'hint_code_text': bool,\n @default(2) 'tab_width': @range[1, 32] u64,\n @can_be_per_window 'main_font_size': @range[6, 72] u64,\n @can_be_per_window 'code_font_size': @range[1, 32] u64,\n}\n" ), str8_lit_comp ("" )},
7979{str8_lit_comp ("target" ), str8_lit_comp ("x:\n{\n 'label': code_string,\n 'executable': path,\n 'arguments': string,\n 'working_directory': path,\n 'entry_point': code_string,\n 'stdout_path': path,\n 'stderr_path': path,\n 'stdin_path': path,\n 'debug_subprocesses': bool,\n}\n" ), str8_lit_comp ("launch_and_run,launch_and_init,select_cfg,remove_cfg" )},
8080{str8_lit_comp ("breakpoint" ), str8_lit_comp ("x:\n{\n 'label': code_string,\n 'condition': code_string,\n 'location': location,\n 'hit_count': u64,\n 'disabled': bool,\n}\n" ), str8_lit_comp ("enable_cfg,remove_cfg" )},
8181{str8_lit_comp ("watch_pin" ), str8_lit_comp ("x:\n{\n 'expression': code_string,\n 'view_rule': code_string,\n 'location': location,\n}\n" ), str8_lit_comp ("remove_cfg" )},
8282{str8_lit_comp ("file_path_map" ), str8_lit_comp ("x:{'source':path, 'dest':path}" ), str8_lit_comp ("remove_cfg" )},
8383{str8_lit_comp ("auto_view_rule" ), str8_lit_comp ("x:{'source':code_string, 'dest':code_string}" ), str8_lit_comp ("remove_cfg" )},
84+ {str8_lit_comp ("watch" ), str8_lit_comp ("x:\n{\n 'expression': code_string,\n 'view_rule': code_string,\n}\n" ), str8_lit_comp ("remove_cfg" )},
8485};
8586
8687String8 d_entity_kind_display_string_table [27 ] =
@@ -710,9 +711,8 @@ str8_lit_comp("5"),
710711str8_lit_comp ("c" ),
711712};
712713
713- String8 rd_collection_name_table [13 ] =
714+ String8 rd_collection_name_table [12 ] =
714715{
715- str8_lit_comp ("watches" ),
716716str8_lit_comp ("machines" ),
717717str8_lit_comp ("processes" ),
718718str8_lit_comp ("threads" ),
@@ -727,9 +727,8 @@ str8_lit_comp("types"),
727727str8_lit_comp ("procedures" ),
728728};
729729
730- RD_EntityKind rd_collection_entity_kind_table [13 ] =
730+ RD_EntityKind rd_collection_entity_kind_table [12 ] =
731731{
732- RD_EntityKind_Watch ,
733732RD_EntityKind_Nil ,
734733RD_EntityKind_Nil ,
735734RD_EntityKind_Nil ,
@@ -744,9 +743,8 @@ RD_EntityKind_Nil,
744743RD_EntityKind_Nil ,
745744};
746745
747- CTRL_EntityKind rd_collection_ctrl_entity_kind_table [13 ] =
746+ CTRL_EntityKind rd_collection_ctrl_entity_kind_table [12 ] =
748747{
749- CTRL_EntityKind_Null ,
750748CTRL_EntityKind_Machine ,
751749CTRL_EntityKind_Process ,
752750CTRL_EntityKind_Thread ,
@@ -761,9 +759,8 @@ CTRL_EntityKind_Null,
761759CTRL_EntityKind_Null ,
762760};
763761
764- EV_ViewRuleExprExpandInfoHookFunctionType * rd_collection_expr_expand_info_hook_function_table [13 ] =
762+ EV_ViewRuleExprExpandInfoHookFunctionType * rd_collection_expr_expand_info_hook_function_table [12 ] =
765763{
766- EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME (watches ),
767764EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME (machines ),
768765EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME (processes ),
769766EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME (threads ),
@@ -778,9 +775,8 @@ EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME(types),
778775EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME (procedures ),
779776};
780777
781- EV_ViewRuleExprExpandRangeInfoHookFunctionType * rd_collection_expr_expand_range_info_hook_function_table [13 ] =
778+ EV_ViewRuleExprExpandRangeInfoHookFunctionType * rd_collection_expr_expand_range_info_hook_function_table [12 ] =
782779{
783- EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME (watches ),
784780EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME (machines ),
785781EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME (processes ),
786782EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME (threads ),
@@ -795,9 +791,8 @@ EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME(types),
795791EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME (procedures ),
796792};
797793
798- EV_ViewRuleExprExpandIDFromNumHookFunctionType * rd_collection_expr_expand_id_from_num_hook_function_table [13 ] =
794+ EV_ViewRuleExprExpandIDFromNumHookFunctionType * rd_collection_expr_expand_id_from_num_hook_function_table [12 ] =
799795{
800- EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME (watches ),
801796EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME (machines ),
802797EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME (processes ),
803798EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME (threads ),
@@ -812,9 +807,8 @@ EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME(types),
812807EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME (procedures ),
813808};
814809
815- EV_ViewRuleExprExpandIDFromNumHookFunctionType * rd_collection_expr_expand_num_from_id_hook_function_table [13 ] =
810+ EV_ViewRuleExprExpandIDFromNumHookFunctionType * rd_collection_expr_expand_num_from_id_hook_function_table [12 ] =
816811{
817- EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME (watches ),
818812EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME (machines ),
819813EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME (processes ),
820814EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME (threads ),
0 commit comments