Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debug a c# - Webservice
Message
 
To
18/03/2003 16:08:26
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00759234
Message ID:
00768391
Views:
20
Hmmm...

right. That never worked for me before - maybe new in VS.Net 2003? It sure works now with the same project that I had tried this with a few times before.

+++ Rick ---

>Rick,
>
>>>I think the main issue is that unless everything is in a single project you can't debug both the Web service and the client code... You need to run a separate instance of the Dev Environment for that.<
>
>Huh? I can debug both the client code and the WebService code from one development session. As long as I can step into the WebService, there's no problem. Did I misinterpret what you just said?
>
>~~Bonnie
>
>
>>>It seems that the only way I can get a WebService to debug is to set the breakpoint on the code that calls the WebService and then step into it from there. Most of the time, it doesn't seem to respect the breakpoint if you put it in the WebService code itself.
>>
>>I don't see that. If you debug it should step on the code where you put the breakpoint.
>>
>>I think the main issue is that unless everything is in a single project you can't debug both the Web service and the client code...
>>
>>You need to run a separate instance of the Dev Environment for that. You can debug only one at a time, because it's basically two separate processes running the code (unless you have a single project that uses say ASP.Net calling a Web Service in the same project).
>>
>>+++ Rick ---
>>
>>
>>>
>>>~~Bonnie
>>>
>>>
>>>>hi Guys,
>>>>how do I debug a webservice ?
>>>>in the web method
>>>>bool updateclient(dataset ds)
>>>>I receive a datase as a parmeters and then I update SQL server. I get a problem. How do I debug the webservice to view the values, locals etc. I placed a maroon circle to debug but has no effect
>>>>
>>>>TIA
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform