Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to automatically step into server. unable to determine a stopping location

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
like image 344
Chad Avatar asked Jul 11 '10 00:07

Chad


2 Answers

For those who enter here, my solution was by setting the output to "Debug".. silly I know...

Did found it through Leniel's links :)

like image 186
KyorCode Avatar answered Oct 16 '22 04:10

KyorCode


There is an option in Tools -> Options -> Debugging _> General called 'Enable Just My Code', unchecking this solved the problem for me.

like image 35
DevDave Avatar answered Oct 16 '22 03:10

DevDave