How to debug a webservice ? VB.Net

I am working on Multi Layer VB.Net project.

I need to debug a Webservice Project which is written on VB.Net.

I have the source code or complete code of Webservice Project.

I am using Webservice as my Reference in my Main Project.

I need to debug it..!

How to do ..!

Who is Participating?
danirk2Connect With a Mentor Commented:
Depends what you try to do.
If you only want to step through your web service, this is the only thing that must run under the debugger.

All the other stuff can be run from out-side visual studio (just run the binary of the other layers produced by a previous build)
Obadiah ChristopherCommented:
R u not able to place a breakpoint in the webservice and run the application in debug mode?

You might also try

in Menu, Debug --> Attach Process --> w3p. You should be able to debug it
chokkaStudentAuthor Commented:
i am not able to see w3p

I am working VS 2005
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Run the webservice under debugger and set break-points.
Execute a client application using that service (just the exe or the webbrowser, not from inside VS)

Sounds simple, but may be I missed the points.
chokkaStudentAuthor Commented:
Run Webservice under Debugger

Do i need to open the Webservice in a Seperate VS 2005 Project and run it ?
I already kept Break Points.

Execute the client App

I have 4 layer project. In that one layer is this Webservice Project
Its a Windows Application or Smart client Application. we are using Webservice for Stand Alone Application.

When i am able to debug 3 layers, i am not able to debug the 4th layer - Webservice,
Since i have hosted the Webservice in local host and its keep getting called from dll's ( Web Reference ).

chokkaStudentAuthor Commented:
ok, how to run the webservice under debugger ..

wat setting, i need to follow ...
In VS, solution explorer, set the webservice as the Startup-project. Hit "debug" (or F5).
chokkaStudentAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.