Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When trying to format traceback, debugpy crashes #1763

Closed
thegoodduck opened this issue Dec 5, 2024 · 2 comments
Closed

When trying to format traceback, debugpy crashes #1763

thegoodduck opened this issue Dec 5, 2024 · 2 comments
Assignees
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

Comments

@thegoodduck
Copy link

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
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-1235U (12 x 2496)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 15.65GB (2.55GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (22)
Extension Author (truncated) Version
ruff cha 2024.56.0
npm-intellisense chr 1.4.5
path-intellisense chr 2.10.0
vscode-eslint dba 3.0.10
gitlens eam 2024.12.504
codespaces Git 1.17.3
copilot Git 1.246.0
copilot-chat Git 0.22.4
remotehub Git 0.64.0
rainbow-csv mec 3.13.0
debugpy ms- 2024.13.2024112901
python ms- 2024.21.2024120501
vscode-pylance ms- 2024.11.102
remote-ssh ms- 0.115.1
remote-ssh-edit ms- 0.87.0
cpptools ms- 1.22.11
live-server ms- 0.4.15
remote-explorer ms- 0.4.3
remote-repositories ms- 0.42.0
vscode-websearchforcopilot ms- 0.1.2024120501
vsliveshare ms- 1.0.5941
sqlite-viewer qwt 0.9.5

(1 theme extensions excluded)

@karthiknadig karthiknadig transferred this issue from microsoft/vscode Dec 10, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Dec 10, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Dec 10, 2024

Thanks for the issue. This is a dupe of #1745 which should be fixed when our next release ships.

@rchiodo rchiodo added the Fixed in next release This issue has been fixed, but won't be available to customers until the next release. label Dec 10, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Dec 13, 2024

Fixed in 1.8.11. Will ship with a future version of the vscode python debugger extension.

@rchiodo rchiodo closed this as completed Dec 13, 2024
@rchiodo rchiodo changed the title When trying to format traceback, Visual Studio Code crashes When trying to format traceback, debugpy crashes Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants