debugpy 1.8.5__zip → 1.8.7__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {debugpy-1.8.5/src/debugpy.egg-info → debugpy-1.8.7}/PKG-INFO +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_calltip_util.py +19 -21
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_completer.py +30 -30
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_execfile.py +3 -1
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +43 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_getopt.py +35 -32
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_imports_tipper.py +83 -84
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_jy_imports_tipper.py +92 -99
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_log.py +2 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_saved_modules.py +51 -27
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_sys_patch.py +11 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_tipper_common.py +6 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/__init__.py +34 -38
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_console_utils.py +71 -69
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_import_hook.py +1 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_imports.py +0 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console.py +14 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_ipython_console_011.py +81 -93
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_localhost.py +9 -8
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_log.py +33 -25
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py +183 -170
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey_qt.py +33 -29
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_override.py +6 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_umd.py +19 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles.py +165 -138
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +77 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_nose.py +35 -36
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel.py +22 -23
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_parallel_client.py +37 -57
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_pytest2.py +54 -52
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_unittest.py +28 -37
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_xml_rpc.py +56 -53
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +604 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocol.json +551 -445
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py +25 -29
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +17458 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py +11 -12
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevconsole_code.py +18 -19
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +41 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +328 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_api.py +263 -214
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_breakpoints.py +7 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils.py +187 -92
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_bytecode_utils_py311.py +105 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_code_to_source.py +46 -51
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py +239 -176
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py +370 -297
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm_constants.py +78 -86
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_command_line_handling.py +55 -59
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py +194 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py +2 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_console.py +18 -23
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py +159 -127
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_custom_frames.py +10 -12
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +55527 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pxd +15 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.pyx +803 -511
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py +18 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py +32 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py +11 -13
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py +16 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace_files.py +27 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py +4 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_utils.py +8 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py +50 -45
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame.py +462 -407
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py +69 -61
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_gevent_integration.py +14 -16
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_import_class.py +27 -25
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_io.py +40 -42
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +200 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py +20 -19
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_json.py +199 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command_factory_xml.py +121 -73
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +208 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command.py +206 -159
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py +346 -334
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_referrers.py +75 -80
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_reload.py +35 -35
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py +116 -124
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py +44 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_safe_repr.py +51 -55
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py +4 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py +24 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_source_mapping.py +19 -20
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_stackless.py +45 -49
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_suspended_frames.py +61 -58
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_thread_lifecycle.py +23 -13
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_timeout.py +29 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch.py +41 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_dispatch_regular.py +117 -55
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_traceproperty.py +11 -14
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_utils.py +90 -89
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py +106 -97
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +40 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py +56 -46
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py +5 -5
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +71 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c +11165 -5326
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py +5 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_modify_bytecode.py +53 -56
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/bytecode.py +4 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/cfg.py +6 -26
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/concrete.py +7 -21
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/flags.py +5 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/instr.py +10 -34
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/peephole_opt.py +1 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/__init__.py +2 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_bytecode.py +3 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_cfg.py +11 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_code.py +2 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_concrete.py +14 -41
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_flags.py +2 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_instr.py +7 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_misc.py +6 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/test_peephole_opt.py +7 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/util_annotation.py +1 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/pydevd_fix_code.py +14 -19
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py +1929 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c +43253 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pxd +46 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx +1935 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/pydevd_sys_monitoring.py +16 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_app_engine_debug_startup.py +12 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_coverage.py +30 -32
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhook.py +58 -54
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookglut.py +20 -24
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py +8 -7
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk3.py +8 -6
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookpyglet.py +11 -8
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt4.py +21 -18
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt5.py +17 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookqt6.py +17 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhooktk.py +6 -4
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py +14 -10
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/matplotlibtools.py +30 -26
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +24 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_for_kernel.py +37 -34
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py +86 -73
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/version.py +7 -7
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_pysrc.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_run_in_console.py +23 -24
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +267 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevconsole.py +55 -47
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd.py +732 -508
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +40 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_check.py +1 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +11 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +75 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py +130 -125
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +89 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py +41 -32
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_utils.hpp +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp +9 -1
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py +10 -9
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/__init__.py +103 -119
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/breakpoint.py +457 -516
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/compat.py +33 -15
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/crash.py +336 -281
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/debug.py +101 -131
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/disasm.py +148 -153
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/event.py +310 -302
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/interactive.py +235 -208
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/module.py +185 -218
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/process.py +428 -564
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/registry.py +54 -53
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/search.py +69 -73
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/sql.py +158 -170
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/system.py +143 -213
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/textio.py +302 -333
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/thread.py +220 -239
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py +198 -177
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/__init__.py +11 -11
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/advapi32.py +1191 -713
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_amd64.py +248 -194
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/context_i386.py +132 -120
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/dbghelp.py +450 -346
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/defines.py +305 -286
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +526 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/kernel32.py +1479 -1097
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +579 -0
- debugpy-1.8.7/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +3517 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/psapi.py +54 -31
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shell32.py +170 -149
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shlwapi.py +190 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/user32.py +542 -437
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/version.py +489 -442
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py +83 -65
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/window.py +70 -76
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp +17 -9
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_file_utils.py +141 -120
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/django_debug.py +175 -149
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py +1 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py +5 -5
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py +28 -28
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py +22 -30
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py +3 -2
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/jinja2_debug.py +130 -108
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/pydevd_line_validation.py +27 -14
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_tracing.py +85 -66
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/setup_pydevd_cython.py +96 -59
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_version.py +3 -3
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/messaging.py +2 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/cli.py +32 -17
- {debugpy-1.8.5 → debugpy-1.8.7/src/debugpy.egg-info}/PKG-INFO +1 -1
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/SOURCES.txt +6 -1
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_bundle/_pydev_filesystem_encoding.py +0 -41
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydev_runfiles/pydev_runfiles_coverage.py +0 -76
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py +0 -592
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py +0 -19514
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info.py +0 -19
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py +0 -153
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.c +0 -43377
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_json_debug_options.py +0 -204
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_plugin_utils.py +0 -91
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_trace_api.py +0 -62
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vm_type.py +0 -41
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_eval_main.py +0 -48
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_ipython/qt.py +0 -23
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_pysrc.py +0 -1
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydev_sitecustomize/sitecustomize.py +0 -237
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py +0 -32
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py +0 -9
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process_linux.py +0 -74
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_pydevd.py +0 -79
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb +0 -0
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/gdi32.py +0 -507
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/ntdll.py +0 -539
- debugpy-1.8.5/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/peb_teb.py +0 -3435
- {debugpy-1.8.5 → debugpy-1.8.7}/DESCRIPTION.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/LICENSE +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/MANIFEST.in +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/README.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/pyproject.toml +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/setup.cfg +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/setup.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/ThirdPartyNotices.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_pydevd_packaging.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/_util.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/force_pydevd.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_bundle/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydev_runfiles/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/debugProtocolCustom.json +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/.gitignore +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pxd +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pyx +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.template.pyx +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/release_mem.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/README.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/README +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_ipython/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/README.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_310.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_311.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_custom_pyeval_settrace_common.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/python.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/ref_utils.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/.gitignore +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/attach.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/inject_dll.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/py_win_helpers.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_in_memory.hpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/run_code_on_dllmain.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.cpp +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/stdafx.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/targetver.h +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/pydevd_plugins/extensions/README.md +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/clients.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/components.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/launchers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/servers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/adapter/sessions.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/json.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/log.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/singleton.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/sockets.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/stacks.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/timestamp.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/common/util.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/__main__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/debuggee.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/handlers.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/output.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/launcher/winapi.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/public_api.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/__init__.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/api.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/server/attach_pid_injected.py +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/dependency_links.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/entry_points.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy.egg-info/top_level.txt +0 -0
- {debugpy-1.8.5 → debugpy-1.8.7}/versioneer.py +0 -0
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython_wrapper.py
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import sys
|
|
2
|
+
|
|
2
3
|
try:
|
|
3
4
|
try:
|
|
4
5
|
from _pydevd_bundle_ext import pydevd_cython as mod
|
|
@@ -10,13 +11,13 @@ except ImportError:
|
|
|
10
11
|
import struct
|
|
11
12
|
|
|
12
13
|
try:
|
|
13
|
-
is_python_64bit =
|
|
14
|
+
is_python_64bit = struct.calcsize("P") == 8
|
|
14
15
|
except:
|
|
15
16
|
# In Jython this call fails, but this is Ok, we don't support Jython for speedups anyways.
|
|
16
17
|
raise ImportError
|
|
17
|
-
plat =
|
|
18
|
+
plat = "32"
|
|
18
19
|
if is_python_64bit:
|
|
19
|
-
plat =
|
|
20
|
+
plat = "64"
|
|
20
21
|
|
|
21
22
|
# We also accept things as:
|
|
22
23
|
#
|
|
@@ -26,14 +27,14 @@ except ImportError:
|
|
|
26
27
|
# to have multiple pre-compiled pyds distributed along the IDE
|
|
27
28
|
# (generated by build_tools/build_binaries_windows.py).
|
|
28
29
|
|
|
29
|
-
mod_name =
|
|
30
|
-
check_name =
|
|
30
|
+
mod_name = "pydevd_cython_%s_%s%s_%s" % (sys.platform, sys.version_info[0], sys.version_info[1], plat)
|
|
31
|
+
check_name = "_pydevd_bundle.%s" % (mod_name,)
|
|
31
32
|
mod = getattr(__import__(check_name), mod_name)
|
|
32
33
|
|
|
33
34
|
# Regardless of how it was found, make sure it's later available as the
|
|
34
35
|
# initial name so that the expected types from cython in frame eval
|
|
35
36
|
# are valid.
|
|
36
|
-
sys.modules[
|
|
37
|
+
sys.modules["_pydevd_bundle.pydevd_cython"] = mod
|
|
37
38
|
|
|
38
39
|
trace_dispatch = mod.trace_dispatch
|
|
39
40
|
|
|
@@ -41,6 +42,10 @@ PyDBAdditionalThreadInfo = mod.PyDBAdditionalThreadInfo
|
|
|
41
42
|
|
|
42
43
|
set_additional_thread_info = mod.set_additional_thread_info
|
|
43
44
|
|
|
45
|
+
any_thread_stepping = mod.any_thread_stepping
|
|
46
|
+
|
|
47
|
+
remove_additional_info = mod.remove_additional_info
|
|
48
|
+
|
|
44
49
|
global_cache_skips = mod.global_cache_skips
|
|
45
50
|
|
|
46
51
|
global_cache_frame_skips = mod.global_cache_frame_skips
|
|
@@ -49,4 +54,10 @@ _set_additional_thread_info_lock = mod._set_additional_thread_info_lock
|
|
|
49
54
|
|
|
50
55
|
fix_top_level_trace_and_get_trace_func = mod.fix_top_level_trace_and_get_trace_func
|
|
51
56
|
|
|
52
|
-
|
|
57
|
+
handle_exception = mod.handle_exception
|
|
58
|
+
|
|
59
|
+
should_stop_on_exception = mod.should_stop_on_exception
|
|
60
|
+
|
|
61
|
+
is_unhandled_exception = mod.is_unhandled_exception
|
|
62
|
+
|
|
63
|
+
version = getattr(mod, "version", 0)
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
RENAMED
|
@@ -2,26 +2,30 @@ from _pydev_bundle._pydev_saved_modules import threading
|
|
|
2
2
|
from _pydev_bundle import _pydev_saved_modules
|
|
3
3
|
from _pydevd_bundle.pydevd_utils import notify_about_gevent_if_needed
|
|
4
4
|
import weakref
|
|
5
|
-
from _pydevd_bundle.pydevd_constants import
|
|
6
|
-
|
|
5
|
+
from _pydevd_bundle.pydevd_constants import (
|
|
6
|
+
IS_JYTHON,
|
|
7
|
+
IS_IRONPYTHON,
|
|
8
|
+
PYDEVD_APPLY_PATCHING_TO_HIDE_PYDEVD_THREADS,
|
|
9
|
+
PYDEVD_USE_SYS_MONITORING,
|
|
10
|
+
)
|
|
7
11
|
from _pydev_bundle.pydev_log import exception as pydev_log_exception
|
|
8
12
|
import sys
|
|
9
13
|
from _pydev_bundle import pydev_log
|
|
10
14
|
import pydevd_tracing
|
|
11
15
|
from _pydevd_bundle.pydevd_collect_bytecode_info import iter_instructions
|
|
16
|
+
from _pydevd_sys_monitoring import pydevd_sys_monitoring
|
|
12
17
|
|
|
13
18
|
if IS_JYTHON:
|
|
14
19
|
import org.python.core as JyCore # @UnresolvedImport
|
|
15
20
|
|
|
16
21
|
|
|
17
22
|
class PyDBDaemonThread(threading.Thread):
|
|
18
|
-
|
|
19
23
|
def __init__(self, py_db, target_and_args=None):
|
|
20
|
-
|
|
24
|
+
"""
|
|
21
25
|
:param target_and_args:
|
|
22
26
|
tuple(func, args, kwargs) if this should be a function and args to run.
|
|
23
27
|
-- Note: use through run_as_pydevd_daemon_thread().
|
|
24
|
-
|
|
28
|
+
"""
|
|
25
29
|
threading.Thread.__init__(self)
|
|
26
30
|
notify_about_gevent_if_needed()
|
|
27
31
|
self._py_db = weakref.ref(py_db)
|
|
@@ -58,61 +62,65 @@ class PyDBDaemonThread(threading.Thread):
|
|
|
58
62
|
target, args, kwargs = self._target_and_args
|
|
59
63
|
target(*args, **kwargs)
|
|
60
64
|
else:
|
|
61
|
-
raise NotImplementedError(
|
|
65
|
+
raise NotImplementedError("Should be reimplemented by: %s" % self.__class__)
|
|
62
66
|
|
|
63
67
|
def do_kill_pydev_thread(self):
|
|
64
68
|
if not self._kill_received:
|
|
65
|
-
pydev_log.debug(
|
|
69
|
+
pydev_log.debug("%s received kill signal", self.name)
|
|
66
70
|
self._kill_received = True
|
|
67
71
|
|
|
68
72
|
def _stop_trace(self):
|
|
69
73
|
if self.pydev_do_not_trace:
|
|
74
|
+
if PYDEVD_USE_SYS_MONITORING:
|
|
75
|
+
pydevd_sys_monitoring.stop_monitoring(all_threads=False)
|
|
76
|
+
return
|
|
70
77
|
pydevd_tracing.SetTrace(None) # no debugging on this thread
|
|
71
78
|
|
|
72
79
|
|
|
73
80
|
def _collect_load_names(func):
|
|
74
81
|
found_load_names = set()
|
|
75
82
|
for instruction in iter_instructions(func.__code__):
|
|
76
|
-
if instruction.opname in (
|
|
83
|
+
if instruction.opname in ("LOAD_GLOBAL", "LOAD_ATTR", "LOAD_METHOD"):
|
|
77
84
|
found_load_names.add(instruction.argrepr)
|
|
78
85
|
return found_load_names
|
|
79
86
|
|
|
80
87
|
|
|
81
88
|
def _patch_threading_to_hide_pydevd_threads():
|
|
82
|
-
|
|
89
|
+
"""
|
|
83
90
|
Patches the needed functions on the `threading` module so that the pydevd threads are hidden.
|
|
84
91
|
|
|
85
92
|
Note that we patch the functions __code__ to avoid issues if some code had already imported those
|
|
86
93
|
variables prior to the patching.
|
|
87
|
-
|
|
94
|
+
"""
|
|
88
95
|
found_load_names = _collect_load_names(threading.enumerate)
|
|
89
96
|
# i.e.: we'll only apply the patching if the function seems to be what we expect.
|
|
90
97
|
|
|
91
98
|
new_threading_enumerate = None
|
|
92
99
|
|
|
93
100
|
if found_load_names in (
|
|
94
|
-
{
|
|
95
|
-
{
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
{"_active_limbo_lock", "_limbo", "_active", "values", "list"},
|
|
102
|
+
{"_active_limbo_lock", "_limbo", "_active", "values", "NULL + list"},
|
|
103
|
+
{"NULL + list", "_active", "_active_limbo_lock", "NULL|self + values", "_limbo"},
|
|
104
|
+
):
|
|
105
|
+
pydev_log.debug("Applying patching to hide pydevd threads (Py3 version).")
|
|
98
106
|
|
|
99
107
|
def new_threading_enumerate():
|
|
100
108
|
with _active_limbo_lock:
|
|
101
109
|
ret = list(_active.values()) + list(_limbo.values())
|
|
102
110
|
|
|
103
|
-
return [t for t in ret if not getattr(t,
|
|
111
|
+
return [t for t in ret if not getattr(t, "is_pydev_daemon_thread", False)]
|
|
104
112
|
|
|
105
|
-
elif found_load_names == set((
|
|
106
|
-
pydev_log.debug(
|
|
113
|
+
elif found_load_names == set(("_active_limbo_lock", "_limbo", "_active", "values")):
|
|
114
|
+
pydev_log.debug("Applying patching to hide pydevd threads (Py2 version).")
|
|
107
115
|
|
|
108
116
|
def new_threading_enumerate():
|
|
109
117
|
with _active_limbo_lock:
|
|
110
118
|
ret = _active.values() + _limbo.values()
|
|
111
119
|
|
|
112
|
-
return [t for t in ret if not getattr(t,
|
|
120
|
+
return [t for t in ret if not getattr(t, "is_pydev_daemon_thread", False)]
|
|
113
121
|
|
|
114
122
|
else:
|
|
115
|
-
pydev_log.info(
|
|
123
|
+
pydev_log.info("Unable to hide pydevd threads. Found names in threading.enumerate: %s", found_load_names)
|
|
116
124
|
|
|
117
125
|
if new_threading_enumerate is not None:
|
|
118
126
|
|
|
@@ -143,7 +151,7 @@ def _patch_threading_to_hide_pydevd_threads():
|
|
|
143
151
|
# But in this particular case, we do want threads with `is_pydev_daemon_thread` to appear
|
|
144
152
|
# explicitly due to the pydevd `CheckAliveThread` (because we want the shutdown to wait on it).
|
|
145
153
|
# So, it can't rely on the `enumerate` for that anymore as it's patched to not return pydevd threads.
|
|
146
|
-
if hasattr(threading,
|
|
154
|
+
if hasattr(threading, "_pickSomeNonDaemonThread"):
|
|
147
155
|
|
|
148
156
|
def new_pick_some_non_daemon_thread():
|
|
149
157
|
with _active_limbo_lock:
|
|
@@ -176,7 +184,7 @@ def mark_as_pydevd_daemon_thread(thread):
|
|
|
176
184
|
try:
|
|
177
185
|
_patch_threading_to_hide_pydevd_threads()
|
|
178
186
|
except:
|
|
179
|
-
pydev_log.exception(
|
|
187
|
+
pydev_log.exception("Error applying patching to hide pydevd threads.")
|
|
180
188
|
|
|
181
189
|
thread.pydev_do_not_trace = True
|
|
182
190
|
thread.is_pydev_daemon_thread = True
|
|
@@ -184,10 +192,10 @@ def mark_as_pydevd_daemon_thread(thread):
|
|
|
184
192
|
|
|
185
193
|
|
|
186
194
|
def run_as_pydevd_daemon_thread(py_db, func, *args, **kwargs):
|
|
187
|
-
|
|
195
|
+
"""
|
|
188
196
|
Runs a function as a pydevd daemon thread (without any tracing in place).
|
|
189
|
-
|
|
197
|
+
"""
|
|
190
198
|
t = PyDBDaemonThread(py_db, target_and_args=(func, args, kwargs))
|
|
191
|
-
t.name =
|
|
199
|
+
t.name = "%s (pydevd daemon thread)" % (func.__name__,)
|
|
192
200
|
t.start()
|
|
193
201
|
return t
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_defaults.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"""
|
|
2
2
|
This module holds the customization settings for the debugger.
|
|
3
|
-
|
|
3
|
+
"""
|
|
4
4
|
|
|
5
5
|
from _pydevd_bundle.pydevd_constants import QUOTED_LINE_PROTOCOL
|
|
6
6
|
from _pydev_bundle import pydev_log
|
|
@@ -17,7 +17,7 @@ class PydevdCustomization(object):
|
|
|
17
17
|
# py_db.skip_suspend_on_breakpoint_exception = (BaseException,)
|
|
18
18
|
# py_db.skip_print_breakpoint_exception = (NameError,)
|
|
19
19
|
# py_db.multi_threads_single_notification = True
|
|
20
|
-
DEBUG_MODE: str =
|
|
20
|
+
DEBUG_MODE: str = ""
|
|
21
21
|
|
|
22
22
|
# This may be a <sys_path_entry>;<module_name> to be pre-imported
|
|
23
23
|
# Something as: 'c:/temp/foo;my_module.bar'
|
|
@@ -33,24 +33,24 @@ class PydevdCustomization(object):
|
|
|
33
33
|
# If the pre-import fails an output message is
|
|
34
34
|
# sent (but apart from that debugger execution
|
|
35
35
|
# should continue).
|
|
36
|
-
PREIMPORT: str =
|
|
36
|
+
PREIMPORT: str = ""
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
def on_pydb_init(py_db):
|
|
40
|
-
if PydevdCustomization.DEBUG_MODE ==
|
|
41
|
-
pydev_log.debug(
|
|
40
|
+
if PydevdCustomization.DEBUG_MODE == "debugpy-dap":
|
|
41
|
+
pydev_log.debug("Apply debug mode: debugpy-dap")
|
|
42
42
|
py_db.skip_suspend_on_breakpoint_exception = (BaseException,)
|
|
43
43
|
py_db.skip_print_breakpoint_exception = (NameError,)
|
|
44
44
|
py_db.multi_threads_single_notification = True
|
|
45
45
|
elif not PydevdCustomization.DEBUG_MODE:
|
|
46
|
-
pydev_log.debug(
|
|
46
|
+
pydev_log.debug("Apply debug mode: default")
|
|
47
47
|
else:
|
|
48
|
-
pydev_log.debug(
|
|
48
|
+
pydev_log.debug("WARNING: unknown debug mode: %s", PydevdCustomization.DEBUG_MODE)
|
|
49
49
|
|
|
50
50
|
if PydevdCustomization.PREIMPORT:
|
|
51
|
-
pydev_log.debug(
|
|
51
|
+
pydev_log.debug("Preimport: %s", PydevdCustomization.PREIMPORT)
|
|
52
52
|
try:
|
|
53
|
-
sys_path_entry, module_name = PydevdCustomization.PREIMPORT.rsplit(
|
|
53
|
+
sys_path_entry, module_name = PydevdCustomization.PREIMPORT.rsplit(";", maxsplit=1)
|
|
54
54
|
except Exception:
|
|
55
55
|
pydev_log.exception("Expected ';' in %s" % (PydevdCustomization.PREIMPORT,))
|
|
56
56
|
else:
|
|
@@ -61,6 +61,4 @@ def on_pydb_init(py_db):
|
|
|
61
61
|
finally:
|
|
62
62
|
sys.path.remove(sys_path_entry)
|
|
63
63
|
except Exception:
|
|
64
|
-
pydev_log.exception(
|
|
65
|
-
"Error importing %s (with sys.path entry: %s)" % (module_name, sys_path_entry))
|
|
66
|
-
|
|
64
|
+
pydev_log.exception("Error importing %s (with sys.path entry: %s)" % (module_name, sys_path_entry))
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_dont_trace.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"""
|
|
2
2
|
Support for a tag that allows skipping over functions while debugging.
|
|
3
|
-
|
|
3
|
+
"""
|
|
4
4
|
import linecache
|
|
5
5
|
import re
|
|
6
6
|
|
|
@@ -17,21 +17,21 @@ import re
|
|
|
17
17
|
#
|
|
18
18
|
# def test2(): #@DontTrace
|
|
19
19
|
# pass
|
|
20
|
-
DONT_TRACE_TAG =
|
|
20
|
+
DONT_TRACE_TAG = "@DontTrace"
|
|
21
21
|
|
|
22
22
|
# Regular expression to match a decorator (at the beginning
|
|
23
23
|
# of a line).
|
|
24
|
-
RE_DECORATOR = re.compile(r
|
|
24
|
+
RE_DECORATOR = re.compile(r"^\s*@")
|
|
25
25
|
|
|
26
26
|
# Mapping from code object to bool.
|
|
27
27
|
# If the key exists, the value is the cached result of should_trace_hook
|
|
28
28
|
_filename_to_ignored_lines = {}
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
def default_should_trace_hook(
|
|
32
|
-
|
|
31
|
+
def default_should_trace_hook(code, absolute_filename):
|
|
32
|
+
"""
|
|
33
33
|
Return True if this frame should be traced, False if tracing should be blocked.
|
|
34
|
-
|
|
34
|
+
"""
|
|
35
35
|
# First, check whether this code object has a cached value
|
|
36
36
|
ignored_lines = _filename_to_ignored_lines.get(absolute_filename)
|
|
37
37
|
if ignored_lines is None:
|
|
@@ -47,7 +47,7 @@ def default_should_trace_hook(frame, absolute_filename):
|
|
|
47
47
|
ignored_lines = {}
|
|
48
48
|
lines = linecache.getlines(absolute_filename)
|
|
49
49
|
for i_line, line in enumerate(lines):
|
|
50
|
-
j = line.find(
|
|
50
|
+
j = line.find("#")
|
|
51
51
|
if j >= 0:
|
|
52
52
|
comment = line[j:]
|
|
53
53
|
if DONT_TRACE_TAG in comment:
|
|
@@ -72,20 +72,21 @@ def default_should_trace_hook(frame, absolute_filename):
|
|
|
72
72
|
|
|
73
73
|
_filename_to_ignored_lines[absolute_filename] = ignored_lines
|
|
74
74
|
|
|
75
|
-
func_line =
|
|
75
|
+
func_line = code.co_firstlineno - 1 # co_firstlineno is 1-based, so -1 is needed
|
|
76
76
|
return not (
|
|
77
|
-
func_line - 1 in ignored_lines
|
|
78
|
-
func_line in ignored_lines
|
|
77
|
+
func_line - 1 in ignored_lines # -1 to get line before method
|
|
78
|
+
or func_line in ignored_lines
|
|
79
|
+
) # method line
|
|
79
80
|
|
|
80
81
|
|
|
81
82
|
should_trace_hook = None
|
|
82
83
|
|
|
83
84
|
|
|
84
85
|
def clear_trace_filter_cache():
|
|
85
|
-
|
|
86
|
+
"""
|
|
86
87
|
Clear the trace filter cache.
|
|
87
88
|
Call this after reloading.
|
|
88
|
-
|
|
89
|
+
"""
|
|
89
90
|
global should_trace_hook
|
|
90
91
|
try:
|
|
91
92
|
# Need to temporarily disable a hook because otherwise
|
|
@@ -102,14 +103,14 @@ def clear_trace_filter_cache():
|
|
|
102
103
|
|
|
103
104
|
|
|
104
105
|
def trace_filter(mode):
|
|
105
|
-
|
|
106
|
+
"""
|
|
106
107
|
Set the trace filter mode.
|
|
107
108
|
|
|
108
109
|
mode: Whether to enable the trace hook.
|
|
109
110
|
True: Trace filtering on (skipping methods tagged @DontTrace)
|
|
110
111
|
False: Trace filtering off (trace methods tagged @DontTrace)
|
|
111
112
|
None/default: Toggle trace filtering.
|
|
112
|
-
|
|
113
|
+
"""
|
|
113
114
|
global should_trace_hook
|
|
114
115
|
if mode is None:
|
|
115
116
|
mode = should_trace_hook is None
|
|
@@ -120,4 +121,3 @@ def trace_filter(mode):
|
|
|
120
121
|
should_trace_hook = None
|
|
121
122
|
|
|
122
123
|
return mode
|
|
123
|
-
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Important: Autogenerated file.
|
|
2
2
|
|
|
3
|
+
# fmt: off
|
|
3
4
|
# DO NOT edit manually!
|
|
4
5
|
# DO NOT edit manually!
|
|
5
6
|
|
|
@@ -11,7 +12,8 @@ DONT_TRACE_DIRS = {
|
|
|
11
12
|
'_pydev_runfiles': PYDEV_FILE,
|
|
12
13
|
'_pydevd_bundle': PYDEV_FILE,
|
|
13
14
|
'_pydevd_frame_eval': PYDEV_FILE,
|
|
14
|
-
'
|
|
15
|
+
'_pydevd_sys_monitoring': PYDEV_FILE,
|
|
16
|
+
'pydev_ipython': LIB_FILE,
|
|
15
17
|
'pydev_sitecustomize': PYDEV_FILE,
|
|
16
18
|
'pydevd_attach_to_process': PYDEV_FILE,
|
|
17
19
|
'pydevd_concurrency_analyser': PYDEV_FILE,
|
|
@@ -19,6 +21,25 @@ DONT_TRACE_DIRS = {
|
|
|
19
21
|
'test_pydevd_reload': PYDEV_FILE,
|
|
20
22
|
}
|
|
21
23
|
|
|
24
|
+
LIB_FILES_IN_DONT_TRACE_DIRS = {
|
|
25
|
+
'__init__.py',
|
|
26
|
+
'inputhook.py',
|
|
27
|
+
'inputhookglut.py',
|
|
28
|
+
'inputhookgtk.py',
|
|
29
|
+
'inputhookgtk3.py',
|
|
30
|
+
'inputhookpyglet.py',
|
|
31
|
+
'inputhookqt4.py',
|
|
32
|
+
'inputhookqt5.py',
|
|
33
|
+
'inputhookqt6.py',
|
|
34
|
+
'inputhooktk.py',
|
|
35
|
+
'inputhookwx.py',
|
|
36
|
+
'matplotlibtools.py',
|
|
37
|
+
'qt.py',
|
|
38
|
+
'qt_for_kernel.py',
|
|
39
|
+
'qt_loaders.py',
|
|
40
|
+
'version.py',
|
|
41
|
+
}
|
|
42
|
+
|
|
22
43
|
DONT_TRACE = {
|
|
23
44
|
# commonly used things from the stdlib that we don't want to trace
|
|
24
45
|
'Queue.py':LIB_FILE,
|
|
@@ -43,6 +64,7 @@ DONT_TRACE = {
|
|
|
43
64
|
'_pydev_saved_modules.py': PYDEV_FILE,
|
|
44
65
|
'_pydev_sys_patch.py': PYDEV_FILE,
|
|
45
66
|
'_pydev_tipper_common.py': PYDEV_FILE,
|
|
67
|
+
'_pydevd_sys_monitoring.py': PYDEV_FILE,
|
|
46
68
|
'django_debug.py': PYDEV_FILE,
|
|
47
69
|
'jinja2_debug.py': PYDEV_FILE,
|
|
48
70
|
'pycompletionserver.py': PYDEV_FILE,
|
|
@@ -78,6 +100,7 @@ DONT_TRACE = {
|
|
|
78
100
|
'pydevd_base_schema.py': PYDEV_FILE,
|
|
79
101
|
'pydevd_breakpoints.py': PYDEV_FILE,
|
|
80
102
|
'pydevd_bytecode_utils.py': PYDEV_FILE,
|
|
103
|
+
'pydevd_bytecode_utils_py311.py': PYDEV_FILE,
|
|
81
104
|
'pydevd_code_to_source.py': PYDEV_FILE,
|
|
82
105
|
'pydevd_collect_bytecode_info.py': PYDEV_FILE,
|
|
83
106
|
'pydevd_comm.py': PYDEV_FILE,
|
|
@@ -130,10 +153,10 @@ DONT_TRACE = {
|
|
|
130
153
|
'pydevd_source_mapping.py': PYDEV_FILE,
|
|
131
154
|
'pydevd_stackless.py': PYDEV_FILE,
|
|
132
155
|
'pydevd_suspended_frames.py': PYDEV_FILE,
|
|
156
|
+
'pydevd_sys_monitoring.py': PYDEV_FILE,
|
|
133
157
|
'pydevd_thread_lifecycle.py': PYDEV_FILE,
|
|
134
158
|
'pydevd_thread_wrappers.py': PYDEV_FILE,
|
|
135
159
|
'pydevd_timeout.py': PYDEV_FILE,
|
|
136
|
-
'pydevd_trace_api.py': PYDEV_FILE,
|
|
137
160
|
'pydevd_trace_dispatch.py': PYDEV_FILE,
|
|
138
161
|
'pydevd_trace_dispatch_regular.py': PYDEV_FILE,
|
|
139
162
|
'pydevd_traceproperty.py': PYDEV_FILE,
|
|
@@ -151,3 +174,5 @@ DONT_TRACE['io.py'] = LIB_FILE
|
|
|
151
174
|
DONT_TRACE['cp1252.py'] = LIB_FILE
|
|
152
175
|
DONT_TRACE['utf_8.py'] = LIB_FILE
|
|
153
176
|
DONT_TRACE['codecs.py'] = LIB_FILE
|
|
177
|
+
|
|
178
|
+
# fmt: on
|
{debugpy-1.8.5 → debugpy-1.8.7}/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_extension_api.py
RENAMED
|
@@ -7,11 +7,10 @@ def _with_metaclass(meta, *bases):
|
|
|
7
7
|
"""Create a base class with a metaclass."""
|
|
8
8
|
|
|
9
9
|
class metaclass(meta):
|
|
10
|
-
|
|
11
10
|
def __new__(cls, name, this_bases, d):
|
|
12
11
|
return meta(name, bases, d)
|
|
13
12
|
|
|
14
|
-
return type.__new__(metaclass,
|
|
13
|
+
return type.__new__(metaclass, "temporary_class", (), {})
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
# =======================================================================================================================
|
|
@@ -50,11 +49,11 @@ class _AbstractResolver(_with_metaclass(abc.ABCMeta)):
|
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
class _AbstractProvider(_with_metaclass(abc.ABCMeta)):
|
|
53
|
-
|
|
54
52
|
@abc.abstractmethod
|
|
55
53
|
def can_provide(self, type_object, type_name):
|
|
56
54
|
raise NotImplementedError
|
|
57
55
|
|
|
56
|
+
|
|
58
57
|
# =======================================================================================================================
|
|
59
58
|
# API CLASSES:
|
|
60
59
|
# =======================================================================================================================
|
|
@@ -72,7 +71,7 @@ class StrPresentationProvider(_AbstractProvider):
|
|
|
72
71
|
"""
|
|
73
72
|
|
|
74
73
|
def get_str_in_context(self, val: Any, context: str):
|
|
75
|
-
|
|
74
|
+
"""
|
|
76
75
|
:param val:
|
|
77
76
|
This is the object for which we want a string representation.
|
|
78
77
|
|
|
@@ -86,7 +85,7 @@ class StrPresentationProvider(_AbstractProvider):
|
|
|
86
85
|
:note: this method is not required (if it's not available, get_str is called directly,
|
|
87
86
|
so, it's only needed if the string representation needs to be converted based on
|
|
88
87
|
the context).
|
|
89
|
-
|
|
88
|
+
"""
|
|
90
89
|
return self.get_str(val)
|
|
91
90
|
|
|
92
91
|
@abc.abstractmethod
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import pkgutil
|
|
2
2
|
import sys
|
|
3
3
|
from _pydev_bundle import pydev_log
|
|
4
|
+
|
|
4
5
|
try:
|
|
5
6
|
import pydevd_plugins.extensions as extensions
|
|
6
7
|
except:
|
|
@@ -9,7 +10,6 @@ except:
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
class ExtensionManager(object):
|
|
12
|
-
|
|
13
13
|
def __init__(self):
|
|
14
14
|
self.loaded_extensions = None
|
|
15
15
|
self.type_to_instance = {}
|
|
@@ -17,16 +17,15 @@ class ExtensionManager(object):
|
|
|
17
17
|
def _load_modules(self):
|
|
18
18
|
self.loaded_extensions = []
|
|
19
19
|
if extensions:
|
|
20
|
-
for module_loader, name, ispkg in pkgutil.walk_packages(extensions.__path__,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if not ispkg and mod_name.startswith('pydevd_plugin'):
|
|
20
|
+
for module_loader, name, ispkg in pkgutil.walk_packages(extensions.__path__, extensions.__name__ + "."):
|
|
21
|
+
mod_name = name.split(".")[-1]
|
|
22
|
+
if not ispkg and mod_name.startswith("pydevd_plugin"):
|
|
24
23
|
try:
|
|
25
24
|
__import__(name)
|
|
26
25
|
module = sys.modules[name]
|
|
27
26
|
self.loaded_extensions.append(module)
|
|
28
27
|
except ImportError:
|
|
29
|
-
pydev_log.critical(
|
|
28
|
+
pydev_log.critical("Unable to load extension: %s", name)
|
|
30
29
|
|
|
31
30
|
def _ensure_loaded(self):
|
|
32
31
|
if self.loaded_extensions is None:
|
|
@@ -34,9 +33,9 @@ class ExtensionManager(object):
|
|
|
34
33
|
|
|
35
34
|
def _iter_attr(self):
|
|
36
35
|
for extension in self.loaded_extensions:
|
|
37
|
-
dunder_all = getattr(extension,
|
|
36
|
+
dunder_all = getattr(extension, "__all__", None)
|
|
38
37
|
for attr_name in dir(extension):
|
|
39
|
-
if not attr_name.startswith(
|
|
38
|
+
if not attr_name.startswith("_"):
|
|
40
39
|
if dunder_all is None or attr_name in dunder_all:
|
|
41
40
|
yield attr_name, getattr(extension, attr_name)
|
|
42
41
|
|
|
@@ -50,7 +49,7 @@ class ExtensionManager(object):
|
|
|
50
49
|
try:
|
|
51
50
|
handlers.append(attr())
|
|
52
51
|
except:
|
|
53
|
-
pydev_log.exception(
|
|
52
|
+
pydev_log.exception("Unable to load extension class: %s", attr_name)
|
|
54
53
|
return handlers
|
|
55
54
|
|
|
56
55
|
|
|
@@ -64,4 +63,3 @@ def extensions_of_type(extension_type):
|
|
|
64
63
|
:rtype: list[T]
|
|
65
64
|
"""
|
|
66
65
|
return EXTENSION_MANAGER_INSTANCE.get_extension_classes(extension_type)
|
|
67
|
-
|