I have a VB.NET VS2010 solution with a WinForms project that calls a web site project in the same solution.
I can step into this web method:
<WebMethod()> Public Function GetStartUpData() As DataSet
and other web methods, but not the following method. I wonder if it has to do with the fact that that is the only web method that uses a parameter of Nullable type.
The method works, I just can't step into it .If I try, I get the error:
Unable to automatically step into server. unable to determine a stopping location
Is this a bug? Is there a work-around?
<WebMethod()>
Public Function RetrieveOrdersByFilter( _
ByVal customerId As Nullable(Of Integer), _
ByVal fromDate As Nullable(Of Date), _
ByVal toDate As Nullable(Of Date), _
ByVal fromStatusCodeId As Nullable(Of Integer), _
ByVal toStatusCodeId As Nullable(Of Integer)) As DataSet
For those who enter here, my solution was by setting the output to "Debug".. silly I know...
Did found it through Leniel's links :)
There is an option in Tools -> Options -> Debugging _> General called 'Enable Just My Code
', unchecking this solved the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With