Visual Studio 2010 调试器跳转 [英] Visual Studio 2010 Debugger jumps around

查看:50
本文介绍了Visual Studio 2010 调试器跳转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的 C# Winforms 应用程序.它不是多线程的(还).当我调试它并逐步执行工作中的代码时,它会按预期调试,调试光标逐行移动.但是当我尝试在我的家用电脑上执行此操作时,它的行为非常不稳定.光标将随机跳转到另一个尚未被调用的方法中间的不相关代码行等.

I have a simple C# Winforms application. It isn't multi-threaded (yet). When I debug it and step through the code at work, it debugs just as expected with the debug cursor moving line by line. But when I try doing this at my home computer, it behaves very erratic. The cursor will randomly jump to an unrelated line of code in the middle of another method that hasn't even been called yet etc.

区别在于:工作我用VS2010 Professional,家里我用VS2010 Ultimate在工作中,我使用 Win XP,在家里我使用 Win 7 Ultimate工作时双核Athlon,家里四核Phenom II

The differences are: At work I use VS2010 Professional, at home I have VS2010 Ultimate At work, I use Win XP, at home I use Win 7 Ultimate At work, its a dual core Athlon, at home a quad core Phenom II

推荐答案

您的符号文件可能与您的源不匹配.尝试删除您的/bin 文件夹并重建解决方案.

Your symbols file might not match your source. Try deleteing your /bin folder and rebuilding the solution.

这篇关于Visual Studio 2010 调试器跳转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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