Step by Step

Coordinator
Jun 7, 2008 at 7:39 PM
1.  Download the Visualizers.rar and open the rar.

2.  Copy the Experts4D.dll and Experts4D.dll.config to
     \My Documents\Visual Studio 2008\Visualizers. (XP User) OR
     \Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers. (Vista User)

3.  Open Visual Studio 2008 WCF Project.

4.  Break point on one of the classes in the list:
          1. Message Class
          2. ChannelDispatcher
Class
          3. ServiceDescription Class
          4. ServiceHost Class
          5. ServiceEndpoint Class.
          6. ClientRuntime
Class
          7. SecurityContext
Class

5.  Click on the Visualizer...

6. Enjoy :-)

  
Jul 15, 2008 at 6:39 PM

Hello Vardi,

I am not sure I understand the instructions.  Do I set the break point in one of my class that derive from one of the classes in the list?  For example, how do I set a break point in the ClientRuntime in my wcf service application?

Thanks,

An

Coordinator
Jul 16, 2008 at 6:51 PM
Hi An,

You don't need to derive from one of the classes. you only need to breakpoints on one of this classes.

Examples:
 1.
           ServiceHost host =
                new ServiceHost( typeof(HelloService) );
            host.Open();       // Breakpoints here and open the WCF Service Visualizer of host.
2.
           class HelloService : IHello
          {
               public string Hello( string name )
              {
                   return string.Format( "Hello: {0}",name);
                   OperationContext c = OperationContext.Current; // Breakpoints here and open the WCF Service Visualizer of c.
              }
        }

an_phu wrote:

Hello Vardi,

I am not sure I understand the instructions.  Do I set the break point in one of my class that derive from one of the classes in the list?  For example, how do I set a break point in the ClientRuntime in my wcf service application?

Thanks,

An