如何诊断ip​​db问题?

时间:2020-07-08 16:10:30

标签: python anaconda spyder ipdb

我已经在一个数据分析项目上使用python了几周,今天调试器已经完全停止工作,我不知道下一步要尝试解决这个问题。

我正在使用Anaconda&Spyder-该环境中的所有软件包都是最新的。

即使使用单行print("Hello World")文件,问题也会出现。

enter image description here

如果我在print行上放置一个断点并按 Ctrl + F5 ,这就是控制台窗口中出现的内容:

Python 3.8.3 | packaged by conda-forge | (default, Jun  1 2020, 16:59:10) [MSC v.1916 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 7.16.1 -- An enhanced Interactive Python.

In [1]: debugfile('C:/Users/sandy.scott/.spyder-py3/temp.py', wdir='C:/Users/sandy.scott/.spyder-py3')
> c:\users\sandy.scott\.spyder-py3\temp.py(1)<module>()
----> 1 print("Hello World")


ipdb>

蓝色箭头未出现在编辑器窗口中,并且所有调试命令均无效-我只能使用 Ctrl + c 或{{ 1}}按钮,此时执行成功完成。

我如何弄清楚发生了什么并使调试器重新工作?

0 个答案:

没有答案
相关问题