diff --git a/lib/debug/server_dap.rb b/lib/debug/server_dap.rb index 6edde3746..a218e85a7 100644 --- a/lib/debug/server_dap.rb +++ b/lib/debug/server_dap.rb @@ -849,14 +849,12 @@ def process_dap args presentationHint: 'locals', # variablesReference: N, # filled by SESSION namedVariables: lnum, - indexedVariables: 0, expensive: false, }, { name: 'Global variables', presentationHint: 'globals', variablesReference: 1, # GLOBAL namedVariables: safe_global_variables.size, - indexedVariables: 0, expensive: false, }] when :scope @@ -1052,18 +1050,19 @@ def render_variable member value: member.inspect_value, type: member.value_type_name, variablesReference: vid, + indexedVariables: indexedVariables, + namedVariables: namedVariables, } else { value: member.inspect_value, type: member.value_type_name, variablesReference: vid, + indexedVariables: indexedVariables, + namedVariables: namedVariables, } end - variable[:indexedVariables] = indexedVariables unless indexedVariables == 0 - variable[:namedVariables] = namedVariables unless namedVariables == 0 - variable end end diff --git a/test/protocol/boot_config_raw_dap_test.rb b/test/protocol/boot_config_raw_dap_test.rb index dd32e790a..71e0e15b8 100644 --- a/test/protocol/boot_config_raw_dap_test.rb +++ b/test/protocol/boot_config_raw_dap_test.rb @@ -200,7 +200,6 @@ def test_boot_configuration_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -209,7 +208,6 @@ def test_boot_configuration_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -237,7 +235,6 @@ def test_boot_configuration_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/break_raw_dap_test.rb b/test/protocol/break_raw_dap_test.rb index 5427959d3..f551ad3e8 100644 --- a/test/protocol/break_raw_dap_test.rb +++ b/test/protocol/break_raw_dap_test.rb @@ -127,7 +127,6 @@ def test_break_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -136,7 +135,6 @@ def test_break_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -164,7 +162,6 @@ def test_break_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -416,7 +413,6 @@ def test_break_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -425,7 +421,6 @@ def test_break_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -453,7 +448,6 @@ def test_break_works_correctly value: "Foo", type: "Module", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -461,7 +455,6 @@ def test_break_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -595,7 +588,6 @@ def test_break_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 7 }, @@ -604,7 +596,6 @@ def test_break_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -632,7 +623,6 @@ def test_break_works_correctly value: "Foo::Bar", type: "Class", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -755,7 +745,6 @@ def test_break_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 9 }, @@ -764,7 +753,6 @@ def test_break_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -792,7 +780,6 @@ def test_break_works_correctly value: "Foo", type: "Module", variablesReference: 10, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -800,7 +787,6 @@ def test_break_works_correctly value: "nil", type: "NilClass", variablesReference: 11, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -953,7 +939,6 @@ def test_check_run_to_line_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -962,7 +947,6 @@ def test_check_run_to_line_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -990,7 +974,6 @@ def test_check_run_to_line_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1149,7 +1132,6 @@ def test_check_run_to_line_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -1158,7 +1140,6 @@ def test_check_run_to_line_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -1186,7 +1167,6 @@ def test_check_run_to_line_works_correctly value: "Foo", type: "Module", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1194,7 +1174,6 @@ def test_check_run_to_line_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/call_stack_raw_dap_test.rb b/test/protocol/call_stack_raw_dap_test.rb index db47ecf62..272a4a0d5 100644 --- a/test/protocol/call_stack_raw_dap_test.rb +++ b/test/protocol/call_stack_raw_dap_test.rb @@ -127,7 +127,6 @@ def test_call_stack_works_correctly_1643805481 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -136,7 +135,6 @@ def test_call_stack_works_correctly_1643805481 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -164,7 +162,6 @@ def test_call_stack_works_correctly_1643805481 value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -334,7 +331,6 @@ def test_call_stack_works_correctly_1643805481 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -343,7 +339,6 @@ def test_call_stack_works_correctly_1643805481 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -371,7 +366,6 @@ def test_call_stack_works_correctly_1643805481 value: "Foo::Bar", type: "Class", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -398,7 +392,6 @@ def test_call_stack_works_correctly_1643805481 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 6 }, @@ -407,7 +400,6 @@ def test_call_stack_works_correctly_1643805481 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -435,7 +427,6 @@ def test_call_stack_works_correctly_1643805481 value: "Foo", type: "Module", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -443,7 +434,6 @@ def test_call_stack_works_correctly_1643805481 value: "nil", type: "NilClass", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -470,7 +460,6 @@ def test_call_stack_works_correctly_1643805481 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 9 }, @@ -479,7 +468,6 @@ def test_call_stack_works_correctly_1643805481 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -507,7 +495,6 @@ def test_call_stack_works_correctly_1643805481 value: "main", type: "Object", variablesReference: 10, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/catch_raw_dap_test.rb b/test/protocol/catch_raw_dap_test.rb index 273c3dd10..73bd020fb 100644 --- a/test/protocol/catch_raw_dap_test.rb +++ b/test/protocol/catch_raw_dap_test.rb @@ -126,7 +126,6 @@ def test_catching_runtime_error_works_correctly_1643891417 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -135,7 +134,6 @@ def test_catching_runtime_error_works_correctly_1643891417 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -163,7 +161,6 @@ def test_catching_runtime_error_works_correctly_1643891417 value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -297,7 +294,6 @@ def test_catching_runtime_error_works_correctly_1643891417 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -306,7 +302,6 @@ def test_catching_runtime_error_works_correctly_1643891417 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -334,7 +329,6 @@ def test_catching_runtime_error_works_correctly_1643891417 value: "Foo::Bar", type: "Class", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -342,7 +336,6 @@ def test_catching_runtime_error_works_correctly_1643891417 value: "#", type: "RuntimeError", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -495,7 +488,6 @@ def test_catching_any_exception_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -504,7 +496,6 @@ def test_catching_any_exception_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -532,7 +523,6 @@ def test_catching_any_exception_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -715,7 +705,6 @@ def test_catching_any_exception_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -724,7 +713,6 @@ def test_catching_any_exception_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -752,7 +740,6 @@ def test_catching_any_exception_works_correctly value: "1", type: "Integer", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -760,7 +747,6 @@ def test_catching_any_exception_works_correctly value: "#", type: "ZeroDivisionError", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/eval_raw_dap_test.rb b/test/protocol/eval_raw_dap_test.rb index 7f01a48e6..a8b2bf4d9 100644 --- a/test/protocol/eval_raw_dap_test.rb +++ b/test/protocol/eval_raw_dap_test.rb @@ -124,7 +124,6 @@ def test_eval_works_correctly_1643807667 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -133,7 +132,6 @@ def test_eval_works_correctly_1643807667 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -161,7 +159,6 @@ def test_eval_works_correctly_1643807667 value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -169,7 +166,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 4, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -177,7 +173,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -185,7 +180,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -193,7 +187,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -201,7 +194,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -209,7 +201,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 9, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -357,7 +348,6 @@ def test_eval_works_correctly_1643807667 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 10 }, @@ -366,7 +356,6 @@ def test_eval_works_correctly_1643807667 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -394,7 +383,6 @@ def test_eval_works_correctly_1643807667 value: "main", type: "Object", variablesReference: 11, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -402,7 +390,6 @@ def test_eval_works_correctly_1643807667 value: "2", type: "Integer", variablesReference: 12, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -410,7 +397,6 @@ def test_eval_works_correctly_1643807667 value: "3", type: "Integer", variablesReference: 13, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -418,7 +404,6 @@ def test_eval_works_correctly_1643807667 value: "1", type: "Integer", variablesReference: 14, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -426,7 +411,6 @@ def test_eval_works_correctly_1643807667 value: "4", type: "Integer", variablesReference: 15, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -434,7 +418,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 16, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -442,7 +425,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 17, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -519,7 +501,6 @@ def test_eval_works_correctly_1643807667 body: { type: "Integer", variablesReference: 18, - indexedVariables: 0, namedVariables: /\d+/, result: "2" } @@ -545,7 +526,6 @@ def test_eval_works_correctly_1643807667 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 19 }, @@ -554,7 +534,6 @@ def test_eval_works_correctly_1643807667 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -582,7 +561,6 @@ def test_eval_works_correctly_1643807667 value: "main", type: "Object", variablesReference: 20, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -590,7 +568,6 @@ def test_eval_works_correctly_1643807667 value: "2", type: "Integer", variablesReference: 21, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -598,7 +575,6 @@ def test_eval_works_correctly_1643807667 value: "3", type: "Integer", variablesReference: 22, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -606,7 +582,6 @@ def test_eval_works_correctly_1643807667 value: "1", type: "Integer", variablesReference: 23, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -614,7 +589,6 @@ def test_eval_works_correctly_1643807667 value: "4", type: "Integer", variablesReference: 24, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -622,7 +596,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 25, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -630,7 +603,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 26, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -715,7 +687,6 @@ def test_eval_works_correctly_1643807667 body: { type: "Integer", variablesReference: 27, - indexedVariables: 0, namedVariables: /\d+/, result: "4" } @@ -741,7 +712,6 @@ def test_eval_works_correctly_1643807667 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 28 }, @@ -750,7 +720,6 @@ def test_eval_works_correctly_1643807667 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -778,7 +747,6 @@ def test_eval_works_correctly_1643807667 value: "main", type: "Object", variablesReference: 29, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -786,7 +754,6 @@ def test_eval_works_correctly_1643807667 value: "2", type: "Integer", variablesReference: 30, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -794,7 +761,6 @@ def test_eval_works_correctly_1643807667 value: "3", type: "Integer", variablesReference: 31, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -802,7 +768,6 @@ def test_eval_works_correctly_1643807667 value: "1", type: "Integer", variablesReference: 32, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -810,7 +775,6 @@ def test_eval_works_correctly_1643807667 value: "4", type: "Integer", variablesReference: 33, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -818,7 +782,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 34, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -826,7 +789,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 35, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -852,7 +814,6 @@ def test_eval_works_correctly_1643807667 body: { type: "Integer", variablesReference: 36, - indexedVariables: 0, namedVariables: /\d+/, result: "3" } @@ -878,7 +839,6 @@ def test_eval_works_correctly_1643807667 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 37 }, @@ -887,7 +847,6 @@ def test_eval_works_correctly_1643807667 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -915,7 +874,6 @@ def test_eval_works_correctly_1643807667 value: "main", type: "Object", variablesReference: 38, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -923,7 +881,6 @@ def test_eval_works_correctly_1643807667 value: "2", type: "Integer", variablesReference: 39, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -931,7 +888,6 @@ def test_eval_works_correctly_1643807667 value: "3", type: "Integer", variablesReference: 40, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -939,7 +895,6 @@ def test_eval_works_correctly_1643807667 value: "1", type: "Integer", variablesReference: 41, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -947,7 +902,6 @@ def test_eval_works_correctly_1643807667 value: "4", type: "Integer", variablesReference: 42, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -955,7 +909,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 43, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -963,7 +916,6 @@ def test_eval_works_correctly_1643807667 value: "nil", type: "NilClass", variablesReference: 44, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/finish_raw_dap_test.rb b/test/protocol/finish_raw_dap_test.rb index 150cfb4b2..c64def7e1 100644 --- a/test/protocol/finish_raw_dap_test.rb +++ b/test/protocol/finish_raw_dap_test.rb @@ -127,7 +127,6 @@ def test_finish_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -136,7 +135,6 @@ def test_finish_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -164,7 +162,6 @@ def test_finish_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -334,7 +331,6 @@ def test_finish_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -343,7 +339,6 @@ def test_finish_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -371,7 +366,6 @@ def test_finish_works_correctly value: "Foo::Bar", type: "Class", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -500,7 +494,6 @@ def test_finish_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 6 }, @@ -509,7 +502,6 @@ def test_finish_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -537,7 +529,6 @@ def test_finish_works_correctly value: "Foo::Bar", type: "Class", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -545,7 +536,6 @@ def test_finish_works_correctly value: "\"hello\"", type: "String", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/hover_raw_dap_test.rb b/test/protocol/hover_raw_dap_test.rb index f052b431b..47c02405b 100644 --- a/test/protocol/hover_raw_dap_test.rb +++ b/test/protocol/hover_raw_dap_test.rb @@ -123,7 +123,6 @@ def test_hover_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -132,7 +131,6 @@ def test_hover_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -160,7 +158,6 @@ def test_hover_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -168,7 +165,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 4, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -176,7 +172,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -184,7 +179,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -192,7 +186,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -200,7 +193,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -348,7 +340,6 @@ def test_hover_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 9 }, @@ -357,7 +348,6 @@ def test_hover_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -385,7 +375,6 @@ def test_hover_works_correctly value: "main", type: "Object", variablesReference: 10, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -393,7 +382,6 @@ def test_hover_works_correctly value: "1", type: "Integer", variablesReference: 11, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -401,7 +389,6 @@ def test_hover_works_correctly value: "2", type: "Integer", variablesReference: 12, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -409,7 +396,6 @@ def test_hover_works_correctly value: "3", type: "Integer", variablesReference: 13, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -417,7 +403,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 14, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -425,7 +410,6 @@ def test_hover_works_correctly value: "nil", type: "NilClass", variablesReference: 15, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -451,7 +435,6 @@ def test_hover_works_correctly body: { type: "Integer", variablesReference: 16, - indexedVariables: 0, namedVariables: /\d+/, result: "2" } @@ -478,7 +461,6 @@ def test_hover_works_correctly value: "Integer", type: "Class", variablesReference: 17, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -506,7 +488,6 @@ def test_hover_works_correctly value: "Class", type: "Class", variablesReference: 18, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -542,7 +523,6 @@ def test_hover_works_correctly value: "Class", type: "Class", variablesReference: 20, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -581,7 +561,6 @@ def test_hover_works_correctly value: "JSON::Ext::Generator::GeneratorMethods::Integer", type: "Module", variablesReference: 22, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -589,7 +568,6 @@ def test_hover_works_correctly value: "Numeric", type: "Class", variablesReference: 23, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -597,7 +575,6 @@ def test_hover_works_correctly value: "Comparable", type: "Module", variablesReference: 24, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -605,7 +582,6 @@ def test_hover_works_correctly value: "Object", type: "Class", variablesReference: 25, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -613,7 +589,6 @@ def test_hover_works_correctly value: "JSON::Ext::Generator::GeneratorMethods::Object", type: "Module", variablesReference: 26, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -621,7 +596,6 @@ def test_hover_works_correctly value: "PP::ObjectMixin", type: "Module", variablesReference: 27, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -629,7 +603,6 @@ def test_hover_works_correctly value: "DEBUGGER__::TrapInterceptor", type: "Module", variablesReference: 28, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -637,7 +610,6 @@ def test_hover_works_correctly value: "Kernel", type: "Module", variablesReference: 29, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -645,7 +617,6 @@ def test_hover_works_correctly value: "BasicObject", type: "Class", variablesReference: 30, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -654,7 +625,6 @@ def test_hover_works_correctly value: nil, type: NilClass, variablesReference: 31, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -680,7 +650,6 @@ def test_hover_works_correctly body: { type: "Integer", variablesReference: 32, - indexedVariables: 0, namedVariables: /\d+/, result: "3" } @@ -707,7 +676,6 @@ def test_hover_works_correctly value: "Integer", type: "Class", variablesReference: 33, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -733,7 +701,6 @@ def test_hover_works_correctly body: { type: "Integer", variablesReference: 34, - indexedVariables: 0, namedVariables: /\d+/, result: "2" } @@ -760,7 +727,6 @@ def test_hover_works_correctly value: "Integer", type: "Class", variablesReference: 35, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -786,7 +752,6 @@ def test_hover_works_correctly body: { type: "Integer", variablesReference: 36, - indexedVariables: 0, namedVariables: /\d+/, result: "1" } @@ -813,7 +778,6 @@ def test_hover_works_correctly value: "Integer", type: "Class", variablesReference: 37, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -988,7 +952,6 @@ def test_1641198331 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -997,7 +960,6 @@ def test_1641198331 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -1025,7 +987,6 @@ def test_1641198331 value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1033,7 +994,6 @@ def test_1641198331 value: "nil", type: "NilClass", variablesReference: 4, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1181,7 +1141,6 @@ def test_1641198331 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 5 }, @@ -1190,7 +1149,6 @@ def test_1641198331 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -1218,7 +1176,6 @@ def test_1641198331 value: "main", type: "Object", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1226,7 +1183,6 @@ def test_1641198331 value: "nil", type: "NilClass", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1252,7 +1208,6 @@ def test_1641198331 body: { type: "Module", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc" } @@ -1279,7 +1234,6 @@ def test_1641198331 value: "Module", type: "Class", variablesReference: 9, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1287,7 +1241,6 @@ def test_1641198331 value: "[]", type: "Array", variablesReference: 0, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1313,7 +1266,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 10, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123" } @@ -1340,7 +1292,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 11, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1374,7 +1325,6 @@ def test_1641198331 body: { type: "Module", variablesReference: 13, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc" } @@ -1401,7 +1351,6 @@ def test_1641198331 value: "Module", type: "Class", variablesReference: 14, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1409,7 +1358,6 @@ def test_1641198331 value: "[]", type: "Array", variablesReference: 0, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1435,7 +1383,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 15, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123" } @@ -1462,7 +1409,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 16, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1496,7 +1442,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 18, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123::Ghi" } @@ -1523,7 +1468,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 19, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1557,7 +1501,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 21, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123::Ghi" } @@ -1584,7 +1527,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 22, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1618,7 +1560,6 @@ def test_1641198331 body: { type: "Module", variablesReference: 24, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc" } @@ -1645,7 +1586,6 @@ def test_1641198331 value: "Module", type: "Class", variablesReference: 25, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1653,7 +1593,6 @@ def test_1641198331 value: "[]", type: "Array", variablesReference: 0, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1679,7 +1618,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 26, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123" } @@ -1706,7 +1644,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 27, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1740,7 +1677,6 @@ def test_1641198331 body: { type: "Class", variablesReference: 29, - indexedVariables: 0, namedVariables: /\d+/, result: "Abc::Def123" } @@ -1767,7 +1703,6 @@ def test_1641198331 value: "Class", type: "Class", variablesReference: 30, - indexedVariables: 0, namedVariables: /\d+/ }, { diff --git a/test/protocol/next_raw_dap_test.rb b/test/protocol/next_raw_dap_test.rb index 9eef94f21..b857d2411 100644 --- a/test/protocol/next_raw_dap_test.rb +++ b/test/protocol/next_raw_dap_test.rb @@ -127,7 +127,6 @@ def test_next_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -136,7 +135,6 @@ def test_next_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -164,7 +162,6 @@ def test_next_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -566,7 +563,6 @@ def test_next_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -575,7 +571,6 @@ def test_next_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -603,7 +598,6 @@ def test_next_works_correctly value: "Foo", type: "Module", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -611,7 +605,6 @@ def test_next_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/step_back_raw_dap_test.rb b/test/protocol/step_back_raw_dap_test.rb index 413a6cda6..7afc29883 100644 --- a/test/protocol/step_back_raw_dap_test.rb +++ b/test/protocol/step_back_raw_dap_test.rb @@ -129,7 +129,6 @@ def test_step_back_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -138,7 +137,6 @@ def test_step_back_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -166,7 +164,6 @@ def test_step_back_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -420,7 +417,6 @@ def test_step_back_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -429,7 +425,6 @@ def test_step_back_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -457,7 +452,6 @@ def test_step_back_works_correctly value: "Foo", type: "Module", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -465,7 +459,6 @@ def test_step_back_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -575,7 +568,6 @@ def test_step_back_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 7 }, @@ -584,7 +576,6 @@ def test_step_back_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -612,7 +603,6 @@ def test_step_back_works_correctly value: "Foo", type: "Module", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -620,7 +610,6 @@ def test_step_back_works_correctly value: "nil", type: "NilClass", variablesReference: 9, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -741,7 +730,6 @@ def test_step_back_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 10 }, @@ -750,7 +738,6 @@ def test_step_back_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -881,7 +868,6 @@ def test_step_back_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 12 }, @@ -890,7 +876,6 @@ def test_step_back_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -918,7 +903,6 @@ def test_step_back_works_correctly value: "Foo", type: "Module", variablesReference: 13, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -926,7 +910,6 @@ def test_step_back_works_correctly value: "nil", type: "NilClass", variablesReference: 14, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/step_raw_dap_test.rb b/test/protocol/step_raw_dap_test.rb index 77560e82c..caaadc190 100644 --- a/test/protocol/step_raw_dap_test.rb +++ b/test/protocol/step_raw_dap_test.rb @@ -127,7 +127,6 @@ def test_step_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -136,7 +135,6 @@ def test_step_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -164,7 +162,6 @@ def test_step_works_correctly value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -705,7 +702,6 @@ def test_step_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 4 }, @@ -714,7 +710,6 @@ def test_step_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -763,7 +758,6 @@ def test_step_works_correctly value: "Foo", type: "Module", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -771,7 +765,6 @@ def test_step_works_correctly value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -842,7 +835,6 @@ def test_step_works_correctly name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 7 }, @@ -851,7 +843,6 @@ def test_step_works_correctly presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -879,7 +870,6 @@ def test_step_works_correctly value: "Foo", type: "Module", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -887,7 +877,6 @@ def test_step_works_correctly value: "nil", type: "NilClass", variablesReference: 9, - indexedVariables: 0, namedVariables: /\d+/ } ] diff --git a/test/protocol/watch_raw_dap_test.rb b/test/protocol/watch_raw_dap_test.rb index 3e6e8b2db..bd7a29635 100644 --- a/test/protocol/watch_raw_dap_test.rb +++ b/test/protocol/watch_raw_dap_test.rb @@ -125,7 +125,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 2 }, @@ -134,7 +133,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -162,7 +160,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 3, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -170,7 +167,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 4, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -178,7 +174,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 5, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -186,7 +181,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 6, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -194,7 +188,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 7, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -228,7 +221,6 @@ def test_watch_works_correctly_1643810224 body: { type: "NilClass", variablesReference: 8, - indexedVariables: 0, namedVariables: /\d+/, result: "nil" } @@ -246,7 +238,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 9 }, @@ -255,7 +246,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -283,7 +273,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 10, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -291,7 +280,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 11, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -299,7 +287,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 12, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -307,7 +294,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 13, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -315,7 +301,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 14, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -421,7 +406,6 @@ def test_watch_works_correctly_1643810224 body: { type: "Integer", variablesReference: 15, - indexedVariables: 0, namedVariables: /\d+/, result: "2" } @@ -447,7 +431,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 16 }, @@ -456,7 +439,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -484,7 +466,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 17, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -492,7 +473,6 @@ def test_watch_works_correctly_1643810224 value: "2", type: "Integer", variablesReference: 18, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -500,7 +480,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 19, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -508,7 +487,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 20, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -516,7 +494,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 21, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -622,7 +599,6 @@ def test_watch_works_correctly_1643810224 body: { type: "Integer", variablesReference: 22, - indexedVariables: 0, namedVariables: /\d+/, result: "3" } @@ -648,7 +624,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 23 }, @@ -657,7 +632,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -685,7 +659,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 24, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -693,7 +666,6 @@ def test_watch_works_correctly_1643810224 value: "3", type: "Integer", variablesReference: 25, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -701,7 +673,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 26, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -709,7 +680,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 27, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -717,7 +687,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 28, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -823,7 +792,6 @@ def test_watch_works_correctly_1643810224 body: { type: "Integer", variablesReference: 29, - indexedVariables: 0, namedVariables: /\d+/, result: "4" } @@ -849,7 +817,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 30 }, @@ -858,7 +825,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -886,7 +852,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 31, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -894,7 +859,6 @@ def test_watch_works_correctly_1643810224 value: "4", type: "Integer", variablesReference: 32, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -902,7 +866,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 33, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -910,7 +873,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 34, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -918,7 +880,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 35, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1024,7 +985,6 @@ def test_watch_works_correctly_1643810224 body: { type: "Integer", variablesReference: 36, - indexedVariables: 0, namedVariables: /\d+/, result: "4" } @@ -1050,7 +1010,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 37 }, @@ -1059,7 +1018,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -1087,7 +1045,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 38, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1095,7 +1052,6 @@ def test_watch_works_correctly_1643810224 value: "4", type: "Integer", variablesReference: 39, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1103,7 +1059,6 @@ def test_watch_works_correctly_1643810224 value: "4", type: "Integer", variablesReference: 40, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1111,7 +1066,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 41, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1119,7 +1073,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 42, - indexedVariables: 0, namedVariables: /\d+/ } ] @@ -1225,7 +1178,6 @@ def test_watch_works_correctly_1643810224 body: { type: "Integer", variablesReference: 43, - indexedVariables: 0, namedVariables: /\d+/, result: "5" } @@ -1251,7 +1203,6 @@ def test_watch_works_correctly_1643810224 name: "Local variables", presentationHint: "locals", namedVariables: /\d+/, - indexedVariables: 0, expensive: false, variablesReference: 44 }, @@ -1260,7 +1211,6 @@ def test_watch_works_correctly_1643810224 presentationHint: "globals", variablesReference: 1, namedVariables: /\d+/, - indexedVariables: 0, expensive: false } ] @@ -1288,7 +1238,6 @@ def test_watch_works_correctly_1643810224 value: "main", type: "Object", variablesReference: 45, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1296,7 +1245,6 @@ def test_watch_works_correctly_1643810224 value: "5", type: "Integer", variablesReference: 46, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1304,7 +1252,6 @@ def test_watch_works_correctly_1643810224 value: "4", type: "Integer", variablesReference: 47, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1312,7 +1259,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 48, - indexedVariables: 0, namedVariables: /\d+/ }, { @@ -1320,7 +1266,6 @@ def test_watch_works_correctly_1643810224 value: "nil", type: "NilClass", variablesReference: 49, - indexedVariables: 0, namedVariables: /\d+/ } ]