Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Win64 上运行 Python 3.3,我在这里找到了如何在 IDLE 3.3 中添加断点,但是当我通过 Run > Run Module (F5) 运行我的模块时,它会直接穿过我的断点。我错过了什么?
您需要启用调试(检查 Shell 窗口中的 Debug→Debugging 复选框)。运行程序时,将显示一个对话框,允许您控制执行代码。如果您选择 Go,它将继续运行您的程序,直到到达断点。