Question Can I not step into a Dataset.designer.vb ?

ohnotme29

New member
Joined
Apr 17, 2012
Messages
1
Programming Experience
Beginner
Hello everyone!
I am using a VS2008 to edit a VB code. When I do "step into" to debug my code, it always steps into xxx.designer.vb. Trying to enable and disable "Just My Code" in options, but it seems to make no difference. Can I review just my code and skip other code generated automatically by system? Where can I find and change the setting for VS2008? Thanks a lot.
 

Lotok

Well-known member
Joined
Jan 17, 2012
Messages
198
Location
Scotland
Programming Experience
5-10
Just set break points in the code you want to debug and press f5. If you step through all the code it will go to designer.VB as its part of the app.

Sent from my XT910 using Tapatalk 2
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,540
Location
Norway
Programming Experience
10+
Here you can read about that behaviour: How to: Step Into Just My Code
Most generated code will have either DebuggerNonUserCode or DebuggerStepThrough attribute applied.
 
Top Bottom