473,385 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to debug a web service

hi

i've got a web app that calls a web service, both of which i've
written and are available on localhost. i've added a web reference in
my web app to http://localhost/mywebservice. i've set a breakpoint in
my web app that calls one of the web service methods and try to step
into it, but am unable to step into the web service. i've also tried
running two instances of VS2003 at the same time. the second instance
of VS opens my web service, sets a breakpoint at the method my web app
calls, and is set to run in debug at the same time my web app is
running, but still no breakpoints in the web service are reached. is
it possible to step into my web service in this way?

tks
Nov 30 '07 #1
2 2211
Yes it is. You need to set the compilation debug attribute to true in
web.config and ensure your web service is compiled in debug mode.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
"steven" wrote:
hi

i've got a web app that calls a web service, both of which i've
written and are available on localhost. i've added a web reference in
my web app to http://localhost/mywebservice. i've set a breakpoint in
my web app that calls one of the web service methods and try to step
into it, but am unable to step into the web service. i've also tried
running two instances of VS2003 at the same time. the second instance
of VS opens my web service, sets a breakpoint at the method my web app
calls, and is set to run in debug at the same time my web app is
running, but still no breakpoints in the web service are reached. is
it possible to step into my web service in this way?

tks
Nov 30 '07 #2
On Nov 30, 6:58 am, Simon Hart [MVP] <srhart...@yahoo.comwrote:
Yes it is. You need to set the compilation debug attribute to true in
web.config and ensure your web service is compiled in debug mode.
--
Simon Hart
Visual Developer - Device Application Development MVPhttp://simonrhart.blogspot.com

"steven" wrote:
hi
i've got a web app that calls a web service, both of which i've
written and are available on localhost. i've added a web reference in
my web app tohttp://localhost/mywebservice. i've set a breakpoint in
my web app that calls one of the web service methods and try to step
into it, but am unable to step into the web service. i've also tried
running two instances of VS2003 at the same time. the second instance
of VS opens my web service, sets a breakpoint at the method my web app
calls, and is set to run in debug at the same time my web app is
running, but still no breakpoints in the web service are reached. is
it possible to step into my web service in this way?
tks- Hide quoted text -

- Show quoted text -
i've set debug to true in the web service and run the web app (that
consumes the web service) to debug and it still doesn't step into the
web service. what am i doing wring?.

i can only debug one service at a time, which is stet to the web site
that will contume the service. the web service runs off http://localhot/myserice

i've set a breakpoint where my web app calls the web service and tried
to 'step into', but VS just steps around the web service and return an
error message.

i'm using VS 2003, if that makes any difference. what am i doiing
wrong?

tks
Dec 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Beth via .NET 247 | last post by:
I have written a service in VB.Net. I have installed the service using InstallUtil. I was able to start the service, but once I attach to and try to debug the service it will not step into my...
2
by: ÎÒÃν­ÄϺà | last post by:
how to debug a running service? I can use "debug processes" to attach a running service, but the program doesn't break at my break points.
0
by: INGSOC | last post by:
Using remote debugging, I can attach to a windows service and run it in debug mode in VS.Net 2003. The problem is this service uses two supporting dlls. On the remote service, the dlls have...
6
by: cyshao | last post by:
How to debug a service ? Hi, friends: I created a new C# service project and wrote some log in OnStart() function. But when I type F5 to debug it, system prompt me "Can't debug a service...
5
by: SiD` | last post by:
when starting a windows service writte in vb.net, a messagebox appears: cannot start service from the command line or a debugger. A windows service must first be installed using installutil.exe ...
4
by: Rob R. Ainscough | last post by:
I've created several DLL's that I use in other projects. I "Add Reference" to these other projects pointing to my DLL. Probelm is, I can't seem to be able to step into my DLL code (from these...
5
by: greg.merideth | last post by:
I'm working on a service for a project that is producing some bizarre behavior. In debug mode while the service is running, the memory usage of the service (watching with process explorer) goes...
7
by: Sunil Varma | last post by:
Hello all, I wrote a Windows Service in VC.NET 2005 I want to debug the solution. I tried as mentioned in the following link. ...
11
by: ThunderMusic | last post by:
Hi, I have a windows service that only loads a CSV file and import it's data using SqlBulkCopy in a newly created Sql Server 2005 table using 25000 rows batches. If I build the service in debug...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.