为什么调试器不起作用 [英] Why the debugger doesn't work

查看:135
本文介绍了为什么调试器不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的调试器不工作,

我正在放置一个断点,但在运行时,visual studio不会停止在breakPoint上。

如何修复它?

我的应用程序没有什么特别的,它是一个简单的Web应用程序。
我正在使用visual studio 2005。

My debugger is not working,
I'm putting a breakpoint, but in run, time visual studio doesn't stop on the breakPoint.
How to fix it?
There is nothing special in my application, it is a simple web application. I am using visual studio 2005.

我已经创建了一个新的Web应用程序项目,而在default.aspx页面上有一个双向控件,在default.cs上,我正在填充一个数据表,并将其作为数据源的网格。

我能够调试它,突然,调试器永远不会被击中。

请注意,调试器正在加载事件。

I've created a new web application project, and on the default.aspx page there is a obout grid control, on the default.cs i am filling a datatable and putting it as datatasource for the grid.
I was able to debug it, suddenly the debugger is never hit.
note that the debugger is on the load event.

推荐答案

查找解决问题的步骤:


  1. 从C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET文件中删除ASP.NET临时文件

  2. 将构建配置更改为从项目属性进行调试。

  3. 从项目中删除bin文件夹。

  4. 检查是否设置了编译调试在web.config

  5. iisreset

  6. 重建项目。

  1. Delete ASP.NET temporary files from C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
  2. Change build configuration to debug from project properties.
  3. Delete bin folder from your project.
  4. Check if compilation debug is set to true in the web.config
  5. iisreset
  6. Rebuild the project.

这篇关于为什么调试器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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