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

extra error output when debugging with run by line with debugpy 1.6.2 #11036

Closed
amunger opened this issue Aug 3, 2022 · 2 comments
Closed

extra error output when debugging with run by line with debugpy 1.6.2 #11036

amunger opened this issue Aug 3, 2022 · 2 comments
Labels
notebook-run-by-line triage-needed Issue needs to be triaged

Comments

@amunger
Copy link
Contributor

amunger commented Aug 3, 2022

Type: Bug

after upgrading to the latest debugpy, there is an error and stacktrace printed at the top of the cell output when starting RBL. Debugging seems to work aside from that though.

96.77s - Error inserting pydevd breaks.
Traceback (most recent call last):
  File "c:\venvs\venv2\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\pydevd_modify_bytecode.py", line 328, in insert_pydevd_breaks
    for new_instruction in get_instructions_to_add(
  File "c:\venvs\venv2\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\pydevd_modify_bytecode.py", line 102, in get_instructions_to_add
    Instr("LOAD_CONST", _pydev_stop_at_break, lineno=stop_at_line - 1),
  File "c:\venvs\venv2\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py", line 171, in __init__
    self._set(name, arg, lineno)
  File "c:\venvs\venv2\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py", line 239, in _set
    _check_lineno(lineno)
  File "c:\venvs\venv2\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py", line 74, in _check_lineno
    raise ValueError("invalid lineno")
ValueError: invalid lineno

Extension version: 2022.8.1002161046
VS Code version: Code - Insiders 1.70.0-insider (e9bda7aa4ff76648cfccc1a7bde465443803da71, 2022-08-02T16:56:25.649Z)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.59GB (12.41GB free)
Process Argv --crash-reporter-id 1202dc88-403d-4ebc-8393-af3551a8bd5b
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
vscscmwlcmt:30465136
cppdebug:30492333
pylanb8912:30522163
vsclangdf:30492506
c4g48928:30535728

@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Aug 3, 2022
@amunger
Copy link
Contributor Author

amunger commented Aug 3, 2022

image

@amunger
Copy link
Contributor Author

amunger commented Aug 3, 2022

dupe of #11033

@amunger amunger closed this as completed Aug 3, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
notebook-run-by-line triage-needed Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant