Hi Tore,
Welcome.
As for debugging client winform app together with ASP.NET webservice
application, it should be a bit different from debugging normal client app+
class library project because for webservcie, the client application does
not actuall load webservice's serverside assembly(code) , client app just
send http SOAP message to webservice. So if you want debugging in code
with both application together, we need to debug the webservice application
and set the start up option to the winform app's exe file. Also, we need to
add them into the same solution...
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Cannot singlestep into webservice to debug it
| thread-index: AcYVy4E6RtbNzpNiQKOI1JZpvUwdyg==
| X-WBNR-Posting-Host: 85.166.241.18
| From: "=?Utf-8?B?VG9yZQ==?=" <>
| Subject: Cannot singlestep into webservice to debug it
| Date: Tue, 10 Jan 2006 01:52:02 -0800
| Lines: 20
| Message-ID: <2ABA3FAF-2D80-4476-89DB->
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservic es:31297
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
|
| I have a windows client communicating with a webservice (distributed
| application). I use C# in vs 2005
|
| The webservice contains a number of web methods. I need to set a
breakpoint
| in the windows client and then single step into the webservice and web
| methods. This works fine for 3 out of 4 web methods in the same
webservice.
| For the last web method it is impossible to single-step from the windows
| client into the web method. The single-steps remain within the windows
| client, so the web method cannot be properly debugged.
|
| I wonder how I can resolve this? I have tried to remove the web method
and
| then re-insert it, change the name etc, but without any success.
|
| My project was converted from vs 2003 a couple of days ago. May be there
is
| a problem with the conversion. Except for the details that need to
debugged
| everything works fine.
|
| Regards
|
| Tore
|