jaredly / jaredly/vim-debug

AttributeError: Debugger instance has no attribute 'bend'

未关闭
#3 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。