VS2017中的错误列表 [英] Errorlist in VS2017

查看:442
本文介绍了VS2017中的错误列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

自从我升级到VS2017进行C#开发以来,错误列表无法正常工作。当出现错误时,即使用错误的值转换日期时间时,程序用于停止并在
我在错误列表中单击它时显示代码中问题的位置。

Since I upgraded to VS2017 for C# development, the error list is not working properly as it used to be. When an error ocurred, i.e. conversion of a datetime with wrong values, the program used to stop and show me the positoin of the problem in code when I clicked it on the error list.

现在,程序进入"保持模式"。并且错误列表中没有显示错误。我只能看到输出窗口中的通知,但没有任何指示出现问题的地方。

Now, the program goes in "holding mode" and no error shows in the error list. All I can see is the notification in the output window, but without any indicaton where the problem occured.

现在问题是如何在发生错误时将VS设置回原来的行为,停止程序并显示代码中的位置。

Question is now how to set VS back to the original behavior, once an error happens, stop the program and show me the position in the code.

谢谢

Ben

推荐答案

>自从我升级到VS2017进行C#开发以来,错误列表不像以前那样正常工作。当出现错误时,即使用错误的值转换日期时间时,程序用于停止并在
我在错误列表中单击它时显示代码中问题的位置。

>Since I upgraded to VS2017 for C# development, the error list is not working properly as it used to be. When an error ocurred, i.e. conversion of a datetime with wrong values, the program used to stop and show me the positoin of the problem in code when I clicked it on the error list.

嗨Ben,

您是否正在混合错误列表的调用堆栈窗格?

Are you mixing the call stack pane for the error list?

错误列表窗格显示编译器错误和警告,而调用堆栈窗格会显示代码中执行数为b
的点 - 这似乎就是你在这里描述的内容。

The error list pane shows compiler errors and warnings, while the call stack pane would show you the point in the code where
execution is at - which seems to be what you're describing here.

Dave



这篇关于VS2017中的错误列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆