When trying to format traceback, debugpy crashes #1763
Labels
Fixed in next release
This issue has been fixed, but won't be available to customers until the next release.
needs repro
Issue has not been reproduced yet
Type: Bug
debug something with an exception in it and it will not format and you will receive this error Traceback (most recent call last):
File "c:\Users\konkovv.vscode-insiders\extensions\ms-python.debugpy-2024.13.2024112901-win32-x64\bundled\libs\debugpy_vendored\pydevd_pydevd_bundle\pydevd_comm.py", line 1533, in build_exception_info_response
stack_str = "".join(stack_summary.format())
~~~~~~~~~~~~~~~~~~~~^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\traceback.py", line 749, in format
formatted_frame = self.format_frame_summary(frame_summary, colorize=colorize)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\traceback.py", line 553, in format_frame_summary
last_line = all_lines_original[frame_summary.end_lineno - frame_summary.lineno]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
VS Code version: Code - Insiders 1.96.0-insider (6864e0b8207dea2c1bb9d781fbdb61c44e7d00e9, 2024-11-25T05:09:19.874Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (22)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: