帮助 - 调试器无法正常工作 [英] help - debugger not working

查看:92
本文介绍了帮助 - 调试器无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我刚刚获得VS2010并且调试器不想在最基本的断点处停止。例如,我填充数据集,下一行代码将整数设置为数据集中行的计数。我在ds填充之前设置了两个断点,在整数行计数上设置了第一个断点,第二个断点触发了第二个断点。即使我走过它也不会停止......这非常令人沮丧。这是VS2010中的一个错误还是我错过了一些东西......我已经尝试过各种方法让断点正常工作而没有任何建议......任何建议????



So I have just gotten VS2010 and the debugger doesn''t want to stop at the most basic break point. for instance I fill a data set and the next line of code sets an integer to the the count of the rows in the dataset. I have setup two break points one before the ds fill and on on the integer row count the first break point fires the the second doesn''t. Even when I step through it doesn''t stop... It is very frustrating. Is this a bug in VS2010 or am I missing something...I have tried every way to make that breakpoint work and nothing... Any suggestions????

mCommand.Fill(dsData, "test")
Dim fred As Integer = dsData.Tables(0).Rows.Count

推荐答案

确保你使用Debug设置编译代码,这将为您启用各种各样的东西。
Make sure that you compile your code with the "Debug" setting which will enable all sorts of things for you.


这篇关于帮助 - 调试器无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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