AttributeError: Debugger instance has no attribute 'bend'
- 主要語言
- Python
- 星號
- 284
- 分支
- 27
- PR 合併指標
- 30 天內沒有已合併 PR
描述
After some fooling around with
:Dbg b
(timeout)
:Dbg quit
:Dbg -
(timeout)
:Dbg quit
:Dbg .
I got an error message that I dismissed by accident without being able to read. Now I cannot :Dbg quit -- I get this traceback:
```
Traceback (most recent call last):
File "", line 1, in
File "/home/mg/.vim/plugin/vim_debug/commands.py", line 44, in debugger_cmd
cmd['function'](*args)
File "/home/mg/.vim/plugin/vim_debug/new_debugger.py", line 187, in quit
self.bend.close()
AttributeError: Debugger instance has no attribute 'bend'
```
":Dbg ." now doesn't work either -- prints the usage message -- so there's no obvious way to debug anything without restarting vim.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 new_debugger.py 中 quit 處的 traceback 以及 commands.py 中 debugger_cmd 處的命令分派開始。重現列出的 :Dbg 序列,然後追蹤偵錯器狀態的建立與關閉方式;當 :Dbg quit 和 :Dbg . 不需重新啟動 Vim 即可再次正常運作時,就算完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python, vim
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100