You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add a breakpoint at the first line, the traceback below is appearing (things still work as it falls back to tracing, but this shouldn't appear to the user at all):
Traceback (most recent call last):
File "c:\bin\Miniconda\envs\jlab310\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:\bin\Miniconda\envs\jlab310\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:\bin\Miniconda\envs\jlab310\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py", line 171, in __init__
self._set(name, arg, lineno)
File "c:\bin\Miniconda\envs\jlab310\lib\site-packages\debugpy\_vendored\pydevd\_pydevd_frame_eval\vendored\bytecode\instr.py", line 239, in _set
_check_lineno(lineno)
File "c:\bin\Miniconda\envs\jlab310\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
The text was updated successfully, but these errors were encountered:
fabioz
changed the title
Traceback when adding breakpoint at the first line of module
Traceback when adding breakpoint at the first line of module (with IPython notebook)
Jul 21, 2022
fabioz
added a commit
to fabioz/debugpy
that referenced
this issue
Jul 21, 2022
When trying to add a breakpoint at the first line, the traceback below is appearing (things still work as it falls back to tracing, but this shouldn't appear to the user at all):
The text was updated successfully, but these errors were encountered: