擅长:python、mysql、java
<p>听起来你的程序好像是挂在睡眠或类似的东西上,或者可能挂在一些本机代码上。在</p>
<p>如果这是一个常规的python循环,pause python就可以工作了。
我相信问题出在python本身,而不是您使用的调试工具。在</p>
<p>暂停python程序时,会暂停interperter,因此在interperter上下文中运行的所有线程都将暂停,您可以在frames窗口中看到它们。任何显示消息“Frames not available in non suspended state”的线程都不会挂起,因为当您暂停程序时,它正在休眠。在</p>
<p>有关如何调试c代码,请参见下面的内容
<a href="https://stackoverflow.com/questions/34299082/not-working-python-breakpoints-in-c-thread-in-pycharm-or-eclipsepydev">Not working python breakpoints in C thread in pycharm or eclipse+pydev</a></p>