这是我第一次在配有python-mode插件的vim中编辑python代码。设置好断点后,我用“\ r”命令来运行它,然后在打印'[pymode]代码运行...'后仍然保持不变。'我尝试了一些方法,但仍然不能退出调试。我做的事。 (从here)如何在vim中停止调试python
回答
根据官方的调试命令:
[usage:] dbg command [options]
- quit :: exit the debugger
- run :: continue execution until a breakpoint is reached or the program ends
default shortcut: \r
- stop :: exit the debugger
- over :: step over next function call
default shortcut: \o
- watch :: execute watch functions
default shortcut: \w
- up :: go up the stack
default shortcut: \u
- here :: continue execution until the cursor (tmp breakpoint)
default shortcut: \h
- down :: go down the stack
default shortcut: \d
- exit :: exit the debugger
- eval :: eval some code
- break :: set a breakpoint
default shortcut: \b
- into :: step into next function call
default shortcut: \i
- out :: step out of current function call
default shortcut: \t
好吧,明白了。我只是认为python-mode插件可以充当调试器,并且可以在没有额外帮助的情况下完成它。 – luohao
除了他在问如何从名为[python-mode](https://github.com/python-mode/python-mode)的vim插件控制调试器,该插件允许您设置断点(
是的,调试器也卡在我的vim中。根据我的理解,无法发送sigim给VIM。 –
用途:python3%,而不是使用:PymodeRun或默认键绑定<leader>r
。这样你可以在shell中运行代码,并且可以按照预期使用调试器。
- 1. 如何停止VIM在PHP
- 2. 如何在visual studio中停止调试
- 3. 如何在vim中停止换行
- 4. 在Eclipse中停止调试
- 5. 停止调试
- 6. 停止调试在Eclipse中停滞
- 7. 如何在使用python使用vim omni-completion时停止“警告”?
- 8. 如何让Application_End在调试时(或停止调试时)运行?
- 9. 如何停止的GStreamer调试日志
- 10. 如何停止调试器附加”
- 11. vim和python脚本调试
- 12. 如何停止python socket.accept()调用?
- 13. Vim&GAE - 无论如何用vim调试python gae应用程序?
- 14. Eclipse调试器在终止前停止
- 15. VIM中的停止按钮
- 16. 如何防止Sharepoint网站在调试时停止?
- 17. 如何停止在Python中返回零?
- 18. 停止调试器调试IL
- 19. 如何在Eclipse中停止Android应用程序的调试
- 20. 如何在调试过程中停止秒表C#和vs2012
- 21. 如何停止正在Chrome中调试的JavaScript程序?
- 22. 如何在Python中停止一个调度器迭代
- 23. 调试停止Windows服务
- 24. VS后“停止调试”
- 25. 按Esc键停止调试
- 26. 调试asp.net突然停止
- 27. 无法停止调试
- 28. eclipse停止意外调试
- 29. 执行:noremap时,如何停止在vim中移动光标?
- 30. Eclipse PyDev - 尝试以调试模式运行时Python停止
Go Vim! –