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 シーケンスを再現し、その後、デバッガーの状態がどのように作成されて閉じられるかを追跡します。Vim を再起動せずに :Dbg quit と :Dbg . が再び動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, vim
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100