Wing IDE不会在断点处停止 [英] Wing IDE not stopping at break points

查看:234
本文介绍了Wing IDE不会在断点处停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行一个对C ++框架函数和python模块进行调用的项目,我可以在Wing IDE上运行它(没有任何问题)(个人版本)。但是,我无法在运行时进行调试。它只允许我调试某个文件,这几乎没有用。我调用了shell脚本,以通过python文件(init)运行框架函数,并且该函数调用了我要调试的python模块。我在pyCharm中遇到了同样的问题。我花了很长时间试图弄清楚这一点,这应该是非常基本的。如何解决此问题并在旅途中进行调试??

I am running a project that makes calls to C++ framework functions and python modules, I can run it on Wing IDE with no problems (personal version). However, I can not debug on the run. It only lets me debug a certain file, which is pretty useless. I make a call to a shell script to run the framework function via a python file (init) and that function calls a python module that I want to debug. I have had the same problem with pyCharm. I have spent quite a while trying to figure this out, something that should be very basic. How can I fix this problem and debug on the go???

推荐答案

在上面的注释之后,我复制了wingdbstub。 py文件(来自Wing ide的调试程序包)到我当前正在运行我的项目并使用 import wingdbstub&启动调试过程。一切顺利,我现在可以调试模块了。

Following the comments above, I have copied the wingdbstub.py file (from debugger packages of Wing ide) to the folder I am currently running my project on and used 'import wingdbstub' & initiated the debug process. All went well, I can now debug modules.

这篇关于Wing IDE不会在断点处停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆