Telerik blogs

Fiddler version 4.5 (and v2.5 targeting .NET2) is now available for download. The new version represents the largest set of improvements for Fiddler in over three years, and includes hundreds of bug-fixes and new features—please download it now!

So, what’s new?

UI Features

Direct Filters

A Filter submenu has been added to the Web Sessions List’s context menu. Using this menu, you can quickly use attributes of the currently selected session to remove similar traffic and prevent its display in the future. For instance, I can quickly filter out all requests to a specified target host:

image

… and all previously captured and future requests to that host will be hidden. The currently enabled direct filters are listed in the new Filters Gutter beneath the QuickExec box:

image

Right-click a filter entry to remove it. Hover over the Filters label to update the numeric counter showing how many sessions were hidden by filters listed in the gutter.

WebSockets

The long-awaited WebSockets tab is now available. Simply double-click on any WebSocket session in the Web Sessions list:

image

…to display the tab:

image

The tab offers the ability to reassemble fragmented messages, and display each message’s content using a small set of Inspectors:

image

If your WebSocket traffic contains higher-level formats (such as binary images) you can click the Inspect as Response button to send the message to the main Web Sessions list for inspection using any Fiddler Inspector.

AutoSave

Fiddler can now automatically save SAZ archives and clear the session list on a regular schedule. Click Tools > Configure AutoSave to show the AutoSave tab:

image

SAZ Clipboard

Click Tools > New Session Clipboard to create a new window into which you can drag/drop sessions you’d like to keep around outside of the main Web Sessions list:

image

Text Wizard

Fiddler’s TextWizard has been updated with additional formats; the old radio buttons have been replaced with a drop-down list of formats.

image

Newly supported formats include conversion To Base64URL strings (often used by Java and security protocols) and To C# byte[] strings, which enable you to easily generate C# source code for a given output, like so:

    byte[] arrOutput = { 0xC2, 0xAE, 0xC2, 0xA9, 0xE2, 0x98, 0x85, 0x20, 0xE2, 0x98, 0x86, 0x20 };

 

HTTPS Versions

Fiddler 4 has long offered a choice of HTTPS versions (defaulting to SSL3 and TLS1.0) when talking to servers, but previously using TLS1.1 and TLS1.2 required somewhat complicated configuration steps. You can now easily control what SSL and TLS versions Fiddler offers to servers using the Enabled Protocols link on the Tools > Fiddler Options > HTTPS Tab:

image
 

BSON Support

Fiddler’s JSON Inspector now supports display of BSON-format binary responses, turning this:

HexView of BSON

…into the much more readable:

BSON in JSONView

Composer History

Fiddler’s Composer tab now includes a History pane to enable you to re-issue previously composed requests  easily, without having to drag and drop from the main Web Sessions list.

image

Simply double-click on any request in the list to update the headers and body currently in the Parsed tab.

Image-Related Features

Image Quality Explorer

The ImageView Inspector offers a new Image Quality Explorer tool that enables you to easily explore the relationship between image format/quality and file size. To invoke it, right-click an image and choose Explore Quality from the Tools submenu:

image

The image will open in a new window. Drag the slider left to observe the impact of quality reductions on the image (shown at the top) and on the file size (shown at the bottom):

image

PNGDistill

The ImageView Inspector’s Tools menu also offers the new PNGDistill tool to enable you to optimize PNG files by removing metadata and optimizing compression.

image

While it’s easily launched by Fiddler, you can also automate the pngdistill.exe tool directly within your build and deploy scripts to ensure that performance problems are avoided before your users experience them.

Gallery Add-on

Fiddler’s Image Gallery add-on now supports JPEG-XR and WebP images. It also supports a new slideshow mode called “picture pile” (hit the P key while in slideshow mode).

General Improvements

Performance

Dozens of performance improvements have been made around Fiddler to speed:

  • The display of large bodies of text
  • Search across sessions
  • Processing of custom columns

 

Reliability Performance

On Windows Vista and later, if Fiddler hangs for any reason or encounters a crashing bug, the tool will detach the proxy and preserve as many settings as it can before restarting.

HangRecovery

High DPI

Various improvements were made around the Fiddler for better behavior on high-DPI systems. For instance, Fiddler’s icons now include higher-resolution versions for improved scaling, and assorted UI features now resize more appropriately on high-DPI systems. Fiddler is not yet marked as a “DPI-aware” application and, thus, will use the system’s default scaling if the screen is over 150 DPI.

If you’d like to disable the system’s default-scaling, you can start Fiddler with the dpiAware command-line argument.

Windows 10 Support

Fiddler now fully supports the Windows 10 preview release.

Import and Export

Fiddler now offers an Import Folder option to bulk-load a set of SAZ files that share a common password.

This update also includes numerous bugfixes to PCAP, PCAPNG, and NetMon CAP import, as well as WCAT export.

Debugging with Fiddler, Second Edition

In other exciting news, my best-selling 2012 book about Fiddler has been fully-updated and the new Second Edition is now available in DRM-free PDF ebook format. Next month, an updated paperback should be available from Amazon.

2eWeb

What’s Coming Next?

As you can see, this is a huge release and we’re excited to get it in your hands. But this is only the beginning of the next era of Fiddler: over the coming weeks and months, we’ll be releasing new versions with new fixes and features. We’ll be updating the Fiddler for Linux build, rev’ing FiddlerCore and making several exciting announcements about the Fiddler product line.

Thanks for all of your support!

-Eric Lawrence


About the Author

Eric Lawrence

(@ericlaw) has built websites and web client software since the mid-1990s. After over a decade of working on the web for Microsoft, Eric joined Telerik in October 2012 to enhance the Fiddler Web Debugger on a full-time basis. With his recent move to Austin, Texas, Eric has now lived in the American South, North, West, and East.

Comments

Comments are disabled in preview mode.