调试器在C#.Net中向后移动 [英] Debugger moving backward in C#.Net

查看:81
本文介绍了调试器在C#.Net中向后移动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我在ASP.Net 4.0中的应用程序中使用了GridView.将调试器移至gridview_rowdatabound时,调试器将向后移动,因为每一行都绑定到了网格视图.

我第一次看到这个问题,因此无法判断它为什么会来.外面有人可以帮助我吗?

谢谢

Varun Sareen

Dear Friends,

I am using a GridView in my application in ASP.Net 4.0. While moving my debugger to gridview_rowdatabound my debugger is moving backward for every row bind to the grid view.

I am seeing this problem the first time so not able to judge why it is coming. Can anyone out there can help me out.

Thanks

Varun Sareen

推荐答案

可能是您的调试符号已过时,这给人的印象是调试器向后移动.发生的情况是,调试器显示了映射到正在执行的il的源代码行.

尝试完全重建您的应用程序,并检查输出目录中的pdb符号和dll是否具有正确的日期和时间.
It could be that your debugging symbols are out of date, this could give the impression that your debugger move backwards. What is happening is that the debugger shows the line of source code that is mapped to the il that is executing.

Try a full rebuild of your application and check if the pdb symbols and the dll''s in the output directory are of the correct date and time.


这篇关于调试器在C#.Net中向后移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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