daveleroy/SublimeDebugger

The breakpoint cannot be removed

Opened this issue · 0 comments

I have only one project opened (so, it is not like here: #282) I try to remove the breakpoint:

image

image

Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Traceback (most recent call last):
  File "E:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1237, in confirm_
    self.confirm(v, event)
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\ui\input.py", line 142, in confirm
    self._on_run_internal()
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\ui\input.py", line 25, in _on_run_internal
    self.future.set_result(None)
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\core\asyncio.py", line 25, in set_result
    return super().set_result(result) #type: ignore
asyncio.exceptions.InvalidStateError: invalid state
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Traceback (most recent call last):
  File "E:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1596, in run_
    return self.run(**args)
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\command.py", line 97, in run
    command.run(self.window, kwargs)
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\command.py", line 73, in run
    if debugger: action(debugger, **args)
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\commands.py", line 214, in <lambda>
    action=lambda debugger: debugger.toggle_breakpoint(),
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\debugger.py", line 609, in toggle_breakpoint
    file, line, _ = self.project.current_file_line_column()
  File "C:\Users\8Observer8\AppData\Roaming\Sublime Text\Packages\Debugger\modules\project.py", line 283, in current_file_line_column
    r, c = view.rowcol(view.sel()[0].begin())
  File "E:\Program Files\Sublime Text\Lib\python38\sublime.py", line 2291, in __getitem__
    raise IndexError()
IndexError
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.
Debugger: error: adapter failed hover evaluation Exception occurred during evaluation.