views:

231

answers:

1

Hey I would like to step thru dataset designer code in an ASP.NET project, how can i ensure that this: [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] is not included on the code it generates?

+4  A: 

You cannot prevent this from happening. However, you can enable stepping through properties, methods that are tagged with this attribute by disabling Just My Code.

Go to Tools -> Option and select the Debugger node. One the right there should be a check box with the text containing "Enable Just My Code". Uncheck that box and you will be able to step into your dataset code.

JaredPar