![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Debugging a .svc service I have a WCF service project that I created in VS2005 with the "WinFX Service Library" template. I can set a breakpoint in its Service.cs file but it doesn't break when the service is used by a client. I have debug="true" in the Web.config file of the service. Should it be possible to debug this type of project? |
| | #2 (permalink) |
| Guest | Re: Debugging a .svc service "Mike Russo" <Mike Russo@discussions.microsoft.com> wrote in message news CB5163B-F00D-4192-B290-B08B8F7F122B@microsoft.com...>I have a WCF service project that I created in VS2005 with the "WinFX >Service > Library" template. I can set a breakpoint in its Service.cs file but it > doesn't break when the service is used by a client. I have debug="true" > in > the Web.config file of the service. Should it be possible to debug this > type > of project? Yes, just make sure that you are using Debug configuration, hit the .svc file from IE to allow IIS start the working proccess and attach to it from VS.NET. Regards, -- Martin Kulov http://www.codeattest.com/blogs/martin MVP, MCT, MCSD.NET Early Achiever |
| | #3 (permalink) |
| Guest | Re: Debugging a .svc service Hi Martin, Thanks for your reply. I noticed that the worker process, aspnet_wp.exe is already running prior to browsing to my .svc. I can attach VS to it with my service project loaded but breakpoints still do not work because the debug symbols have not been loaded. That is what browsing to the .svc accomplishes. And that is why it's important to do this prior to attaching to aspnet_wp.exe. Thanks for saving me some head-scratching. Mike "Martin Kulov [MVP]" wrote: > "Mike Russo" <Mike Russo@discussions.microsoft.com> wrote in message > news CB5163B-F00D-4192-B290-B08B8F7F122B@microsoft.com...> >I have a WCF service project that I created in VS2005 with the "WinFX > >Service > > Library" template. I can set a breakpoint in its Service.cs file but it > > doesn't break when the service is used by a client. I have debug="true" > > in > > the Web.config file of the service. Should it be possible to debug this > > type > > of project? > > Yes, > just make sure that you are using Debug configuration, hit the .svc file > from IE to allow IIS start the working proccess and attach to it from > VS.NET. > > Regards, > > -- > Martin Kulov > http://www.codeattest.com/blogs/martin > > MVP, MCT, MCSD.NET Early Achiever > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JIT Debugging | stimpy_cm | Software | 1 | 3 Days Ago 07:42 AM |
| Help debugging with MSE | jhmosow | VB Script | 0 | 07-22-2008 01:29 PM |
| JIT Debugging | stimpy_cm | .NET General | 0 | 06-16-2008 09:11 PM |
| T-SQL Debugging | acolmano | .NET General | 0 | 04-18-2008 03:35 AM |