小编Bec*_*Bec的帖子

在 Spyder 中设置断点不起作用

我是使用 Python 和 Spyder 的新手。我使用 Python 3.5 和 Spyder 2.3.8。我想调试我的代码并设置断点。然后这个错误出现在内部控制台中:

    Traceback (most recent call last): 
      File "C:\Anaconda3\lib\site-packages\spyderlib\plugins\externalconsole.py", line 713, in set_spyder_breakpoints
         shellwidget.shell.set_spyder_breakpoints()    
    AttributeError: 'TerminalWidget' object has no attribute 'set_spyder_breakpoints'
Run Code Online (Sandbox Code Playgroud)

当我运行代码时,断点被忽略。任何想法如何解决这个问题?谢谢!

python debugging breakpoints spyder

1
推荐指数
1
解决办法
5025
查看次数

标签 统计

breakpoints ×1

debugging ×1

python ×1

spyder ×1