简体   繁体   English

ASP.Net 应用程序没有在断点处中断

[英]ASP.Net application is not breaking on break point

All of sudden my application is not breaking on the break point.突然间,我的应用程序没有在断点处中断。 I have tried the solutions given in this link but of no use.我已经尝试过此链接中给出的解决方案,但没有用。

PS: However, it is breaking on the default.aspx PS:但是,它打破了 default.aspx

在此处输入图像描述

The main things to check are:要检查的主要事项是:

1) full solution rebuilt ok? 1)完整的解决方案重建好吗?

2) Dev iis/casini server running ok? 2) 开发 iis/casini 服务器运行正常吗? restart them potential重新启动他们的潜力

3) Debug build? 3)调试构建?

4) UI code calling the required web service method? 4)UI代码调用所需的web服务方法?

5) Attached to the correct process if manually attaching for debug? 5) 如果手动附加调试,附加到正确的进程?

6) Close Visual Studio and re-open solution? 6) 关闭 Visual Studio 并重新打开解决方案?

Thanks for everyone.谢谢大家。

One of my senior developer had solved the issue.我的一位高级开发人员解决了这个问题。 The problem was, invalid port number.问题是,无效的端口号。

  • The solution is to Change project property Use dynamic ports from True to False .解决方案是将项目属性Use dynamic portsTrue更改为False

Since the port was set as dynamic, it was changing dynamically & the flex application was referring the different port fetching data from there.由于端口被设置为动态的,因此它是动态变化的,并且 flex 应用程序正在引用不同的端口从那里获取数据。

Can you try breaking on line 41 instead?您可以尝试在第 41 行中断吗?

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

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