Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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????

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

1 solution

Make sure that you compile your code with the "Debug" setting which will enable all sorts of things for you.
 
Share this answer
 
Comments
liona 25-Apr-13 13:57pm    
Yes I have Debug set and x86

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900