(case_setup_dap, var_presentation, check_func)
| 6025 | ], |
| 6026 | ) |
| 6027 | def test_variable_presentation(case_setup_dap, var_presentation, check_func): |
| 6028 | with case_setup_dap.test_file("_debugger_case_globals.py") as writer: |
| 6029 | json_facade = JsonFacade(writer) |
| 6030 | json_facade.write_launch(variablePresentation=var_presentation) |
| 6031 | json_facade.write_set_breakpoints(writer.get_line_index_with_content("breakpoint here")) |
| 6032 | |
| 6033 | json_facade.write_make_initial_run() |
| 6034 | json_hit = json_facade.wait_for_thread_stopped() |
| 6035 | name_to_scope = json_facade.get_name_to_scope(json_hit.frame_id) |
| 6036 | |
| 6037 | variables_response = json_facade.get_variables_response(name_to_scope["Globals"].variablesReference) |
| 6038 | check_func(json_facade, json_hit, variables_response) |
| 6039 | |
| 6040 | json_facade.write_continue() |
| 6041 | |
| 6042 | writer.finished_ok = True |
| 6043 | |
| 6044 | |
| 6045 | def test_debugger_case_deadlock_thread_eval(case_setup_dap): |
nothing calls this directly
no test coverage detected