« Using Virtual Server, Check your VM Additions | Main | Upcoming Colorado Events »

Debug Visualizers and Why Soap Exceptions suck!

Repeat after me ...Soap Exceptions Do not Serialize.  This isn't new information, in fact I have known this for years, however, tonight I managed to fall into the trap of forgetting this small but important detail.

This all started because I was tired of having to drill down in the debugger to see what the real error was for the Soap Exception.  I thought maybe, I might just throw together a Debug Visualizer to add to my collection.  I kept getting only part of the data, I wouldn't get the Detail property.

All of a sudden it all came back, something about Debug Visualizers needing to serialize the data. In my search to confirm my fear, I did run across a good post on visualizers by Frans Bouma  - Tips for writing debug visualizers - you can read that here, it has some good tips if your writing your own visualizers.  So yes, the bottom line is Soap Exception and a debug visualizer does not play well.  Back to the drawing board on that idea.

So here's my shout out to the owner of the Soap Exception - how about making it serialize so it will work with Debug Visualizers among other things?

Posted on Saturday, November 10, 2007 at 11:17PM by Registered CommenterDavid Yack | CommentsPost a Comment

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>