Debug Web service

H

Harry Simpson

Hello,

I've used a web service for years with my device app and recently recreated
it in VS2005 - it works cept for one method that i'd like to debug but I'm
grabbing a dataset from the local SDF database on the device and using a web
method call to pass the dataset......i need to debug this as in running the
device (activesync debug session) and i'd like to be able to step from the
device code into the web service project code during debug.

I know I've done something like this years ago but can remember whether I
needed to have a web test app project inside the same solution as the web
service project or whether I could just add the Smart device project and set
it as the start project with breakpoints in both the Webservice and the
smartdevice projects......

TIA
Harry
 
G

Guest

You need to set the compilation\debug attribute to false in the Web Services
web.config file - you might need to reload inetinfo.exe if you have changed
this value. Then set a breakpoint in the web method and away you go.

You can run both web project and the device project and debug both in the
same solution at the same time.
 
G

Guest

Sorry it's been a long day, I meant the debug attribute should be set to true
not false ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top