简体   繁体   English

Visual Studio 16.3.4 + Python 工具 16.3 交互式 Window 中断调试

[英]Visual Studio 16.3.4 + Python Tools 16.3 Interactive Window breaks debugging

Python Tools Interactive Window became pretty much useless since the last update to Visual Studio. Python 工具 交互式 Window 自从上次更新到 Visual Studio 以来几乎没用了。 Normally I would be able to test my buggy code in the interactive window, but now, suddenly, entering an incorrect command triggers a proper Visual Studio error and breaks the process.通常我可以在交互式 window 中测试我的错误代码,但现在,突然,输入不正确的命令会触发正确的 Visual Studio 错误并中断该过程。

As seen in the image - before, I would see the error in the interactive window and the Visual Studio would not pop up and break debugging.如图所示 - 之前,我会在交互式 window 中看到错误,并且 Visual Studio 不会弹出并中断调试。

如图所示 - 之前,我会在交互式窗口中看到 NameError,并且 Visual Studio 不会弹出并中断调试。

Any suggestions if this is a problem on my side?如果这是我这边的问题,有什么建议吗?

The issue has been resolved by the kind folks at https://github.com/microsoft/PTVS/issues/5827 . https://github.com/microsoft/PTVS/issues/5827的好心人已经解决了这个问题。

The solution is to use a legacy debugger, option found in Options>Python>Debugging.解决方案是使用旧版调试器,该选项位于 Options>Python>Debugging 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM