nvim-dap-python
nvim-dap-python copied to clipboard
Error when running a simple code
I just run
a, b = 1, 2
input()
and I have error in dapui console
0.51s - Error inserting pydevd breaks.
Traceback (most recent call last):
File "/home/misha/.virtualenvs/debugpy/lib/python3.10/site-packages/debugpy/_vendored/pydevd/_py
devd_frame_eval/pydevd_modify_bytecode.py", line 328, in insert_pydevd_breaks
for new_instruction in get_instructions_to_add(
File "/home/misha/.virtualenvs/debugpy/lib/python3.10/site-packages/debugpy/_vendored/pydevd/_py
devd_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 "/home/misha/.virtualenvs/debugpy/lib/python3.10/site-packages/debugpy/_vendored/pydevd/_py
devd_frame_eval/vendored/bytecode/instr.py", line 171, in __init__
self._set(name, arg, lineno)
File "/home/misha/.virtualenvs/debugpy/lib/python3.10/site-packages/debugpy/_vendored/pydevd/_py
devd_frame_eval/vendored/bytecode/instr.py", line 239, in _set
_check_lineno(lineno)
File "/home/misha/.virtualenvs/debugpy/lib/python3.10/site-packages/debugpy/_vendored/pydevd/_py
devd_frame_eval/vendored/bytecode/instr.py", line 74, in _check_lineno
raise ValueError("invalid lineno")
ValueError: invalid lineno