PrettyPrint Fiddler2 Plugin (Alpha)

Michael Schwarz on Wednesday, August 1, 2007

I put a first alpha version of the PrettyPrint Fiddler2 plugin [1] online. There are still some problems with regular expressions and lines that don't end with a semicolon, and some unknown maybe...

How to install?

First install Fiddler2 [2], system requriements are Windows 2000 / XP / 2003 / Vista with Microsoft .NET Framework v2.0 or later.

Simple copy the extracted DLL [1] to %USERPROFILE%\Documents\Fiddler2\Scripts\. When you start Fiddler2 you will see the plugin running in the Fiddler Options -> Extensions tab, it will identify itself as MS.Tools.PrettyPrint.

Which response are reformatted?

Currently I have only implemented response content with content type of application/x-javascript or text/javascript. If the request path ends with .js I do the convertion, too.

If the plugin is reformatting the response it will add a custom http header X-Fiddler-Plugin with PrettyPrint as value.

Any feedback is welcome!! Use the contact form [3] to send me any error you get, if possible with a short example or the original public url of the file.