当我输入代码时,ASP.NET Web应用程序调试器不起作用 [英] ASP.NET Web Application Debugger Doesnt Work When I Input codes

查看:54
本文介绍了当我输入代码时,ASP.NET Web应用程序调试器不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

Hello everyone,


我正在使用VS 2017,首先当我向.aspx添加文本框等时选项卡,调试器正常工作和启动。 :

I am using VS 2017, firstly when i add textbox etc. to .aspx tab, debugger works and starts correctly. :


但是,当我尝试将代码嵌入到aspx.cs选项卡中时,如基本打印代码,调试器无法启动。 (它不适用于任何代码而不是只有这一个。) 

However, when i try to instert code to aspx.cs tab, like  basic print code, debugger doesnt start. (It doesnt work with any code not  with just this one.) 


我想知道导致这个问题的原因,我正在寻找解决方案但仍未发现任何相关信息:(

I was wondering what causes this problem, I am looking for a solution but still havent found anything about this :(


非常感谢你。

Thank you so much.

推荐答案

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>>当我尝试将代码输入到aspx时.cs选项卡,与基本打印代码一样,调试器无法启动。(它不适用于任何代码而不仅仅是这个代码。)

TextBox控件用于显示信息由您/用户输入,您是否使用其他控件来触发事件。此外,其中,di你插入打印代码?您可以在插入打印代码的方法中添加断点。

A TextBox control is used to display information entered either by you/user, have you used the other control to trigger the event. Besides, where did you insert the print code? You can add breakpoint to the method which you inserted the print code.

如果您仍有问题,请在此处分享您的代码吗?所以我们可以在我们这边调试它。

If you still have problem about it, could you please share your code here? So we could debug it in our side.

祝你好运,

Joyce


这篇关于当我输入代码时,ASP.NET Web应用程序调试器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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