- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在使用 archlinux 并安装了 gvim 和 python。然后在 vim 中使用 vundle,为 vim 安装插件 vdebug。
在过去的一年里,我非常成功地使用 vdebug 调试了很多 php 代码。从昨天开始,我突然在 vim 中收到以下错误。
确切顺序:
我使用 vim 打开 index.php。
按 F5。底部显示 等待连接(Ctrl-C 取消,此消息将在 20 秒内自毁...)
然后转到我的浏览器并刷新链接:http://www.mylocalsite.com/?XDEBUG_SESSION_START=1
通常在此之后调试开始。但是从昨天开始什么都没有发生。它一直显示 正在等待连接(Ctrl-C 取消,此消息将在 20 秒内自毁...)
所以在 40 秒后,如果我键入 enter 它显示了 output1 。后来我再次关闭终端并运行所有步骤,除了这次输入 ctrl + c 而不是 enter,它显示 output2
输出 1
Waiting for a connection (Ctrl-C to cancel, this message will self-destruct in 20 seconds...)
An error occured: <class 'vim.error'>
Traceback (most recent call last):
File "/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
self.runner.run()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
self.open()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 47, in open
self.ui.open()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 75, in open
raise e
error: Vim(new):E325: ATTENTION
输出2
Error detected while processing :
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
self.runner.run()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
self.open()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 47, in open
self.ui.open()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 52, in open
self.watchwin.create()
File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 337, in create
vim.command('silent ' + self.open_cmd + ' ' + self.name)
KeyboardInterrupt
最佳答案
我发现有一个交换文件 .Debugger.swp 因为它 dedugger 不工作。我已经删除了那个文件。它开始工作了
此外,vdebug 生成的任何其他 swp 文件也将被删除。
关于linux - vdebug-vim : not working,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25812965/
我正在使用 archlinux 并安装了 gvim 和 python。然后在 vim 中使用 vundle,为 vim 安装插件 vdebug。 在过去的一年里,我非常成功地使用 vdebug 调试了
我正在尝试使用vdebug使用 MacVim 和 xdebug 来调试代码。我通过 homebrew 安装了 MacVim 和 python,并且安装了 xdebug 并且可以与 MacGDBp 一起
如何配置 Xdebug 使其适用于 Vdebug -Vim 的 PHP 调试器? 我正在尝试安装 Vdebug在 Vim 中调试 PHP。不幸的是,当我按 F5 几秒钟后出现此消息 Waiting f
我是一名优秀的程序员,十分优秀!