Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / August 2007

Tip: Looking for answers? Try searching our database.

Debug Web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harry Simpson - 31 Aug 2007 15:36 GMT
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
Simon Hart - 31 Aug 2007 16:24 GMT
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.

Signature

Simon Hart
http://simonrhart.blogspot.com

> Hello,
>
[quoted text clipped - 13 lines]
> TIA
> Harry
Simon Hart - 31 Aug 2007 16:24 GMT
Sorry it's been a long day, I meant the debug attribute should be set to true
not false ;)
Signature

Simon Hart
http://simonrhart.blogspot.com

> Hello,
>
[quoted text clipped - 13 lines]
> TIA
> Harry
Harry Simpson - 31 Aug 2007 18:40 GMT
Thanks Simon....!!
Harry

> Sorry it's been a long day, I meant the debug attribute should be set to
> true
[quoted text clipped - 23 lines]
>> TIA
>> Harry

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.