Cannot debug after updating vscode to 1.58.2
See original GitHub issueIssue Type: Bug
I’m currently using remote development on an Aarch64 device and i can’t run the debugger. I’m getting this stack trace:
Traceback (most recent call last): File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main “main”, mod_spec) File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code exec(code, run_globals) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/main.py”, line 45, in <module> cli.main() File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/cli.py”, line 444, in main run() File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/cli.py”, line 267, in run_file start_debugging(target) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/cli.py”, line 257, in start_debugging debugpy.connect(options.address, access_token=options.adapter_access_token) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/common/compat.py”, line 208, in kwonly_f return f(*args, **kwargs) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/init.py”, line 135, in connect return api.connect(address, access_token=access_token) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/api.py”, line 143, in debug log.reraise_exception(“{0}() failed:”, func.name, level=“info”) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/api.py”, line 141, in debug return func(address, settrace_kwargs, **kwargs) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/api.py”, line 276, in connect _settrace(host=host, port=port, client_access_token=access_token, **settrace_kwargs) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/…/debugpy/server/api.py”, line 47, in _settrace return pydevd.settrace(*args, **kwargs) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py”, line 2712, in settrace notify_stdin=notify_stdin, File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py”, line 2819, in _locked_settrace py_db.enable_tracing(py_db.trace_dispatch, apply_to_all_threads=True) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py”, line 1039, in enable_tracing pydevd_tracing.SetTrace(thread_trace_func) File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py”, line 83, in SetTrace if set_trace_to_threads(tracing_func, thread_idents=[thread.get_ident()], create_dummy_thread=False) == 0: File “/home/iiotbrooksville01/.vscode-server/extensions/ms-python.python-2021.7.1053846006/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_tracing.py”, line 349, in set_trace_to_threads result = lib.AttachDebuggerTracing( File “/usr/lib/python3.6/ctypes/init.py”, line 361, in getattr func = self.getitem(name) File “/usr/lib/python3.6/ctypes/init.py”, line 366, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/bin/python3: undefined symbol: AttachDebuggerTracing
Extension version: 2021.7.1053846006 VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:10:15.214Z) OS version: Windows_NT x64 10.0.18363 Restricted Mode: No Remote OS version: Linux arm64 4.9.201-tegra Remote OS version: Linux arm64 4.9.201-tegra
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-8665U CPU @ 1.90GHz (8 x 2112) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.82GB (4.04GB free) |
Process Argv | –crash-reporter-id cb67baa5-406b-4b6f-9918-c1b25456c042 |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: Jetson5 |
OS | Linux arm64 4.9.201-tegra |
CPUs | unknown (4 x 1907) |
Memory (System) | 7.59GB (3.41GB free) |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: Xavier |
OS | Linux arm64 4.9.201-tegra |
CPUs | unknown (6 x 1420) |
Memory (System) | 7.59GB (3.66GB free) |
VM | 0% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspyt653:30270858
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
pythonvssor306cf:30341832
bridge0708:30335490
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top GitHub Comments
Same issue with remote-ssh debugging on 2021.7.1053… Roll back to 2021.7.1050 fixes this.
You can also try this workaround: https://github.com/microsoft/debugpy/issues/669#issuecomment-884811956