Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an extra column to Fiddler

Tags:

fiddler

Love this debugging tool. It would be great if I could see how long each call takes as a column rather than having to click each individual item and look at its statistics.

I didn't see any options to add this column. Is there a way to do it via a config file or a script?

Thanks

like image 920
AngryHacker Avatar asked Mar 26 '09 01:03

AngryHacker


People also ask

How do I add a column to a table in Fiddler?

Alternatively, you can call the AddBoundColumn () method. The first parameter is the name with which the column should be named, and the second parameter is the default width of the column. The third parameter is either a Fiddler Classic Session Flag string, an @-prefixed-header name, or a JavaScript function that returns a string.

How do I add a column to a filter?

You can't add. You will need to remove the filter and apply filter again. This will automatically add the last column to the filter. You can also press CTRL+SHIFT+L two times to accomplish the above. Do let me know if you require any further help on this.

How do I add columns to a collection using quickexec?

Click the Collection drop-down menu and select the collection that will populate the column. Enter the name of the collection member that will populate the column and the title of the column. Columns added using QuickExec will be removed the next time Fiddler Classic starts. For more QuickExec column commands, see the QuickExec Reference.

How to add additional columns during ADF copy activity?

With ADF copy activity you can choose to add additional columns to copy along to sink, including static value, dynamic content with ADF expression, and source files’ path. For more details, refer to Azure Data Factory - Add additional columns during copy. Hope this helps. Do let us know if you any further queries.


2 Answers

I tried the other answers but none of them give me the actual overall elapsed time, as TTLB is not always what we want. The Fiddler help page @Eric Lawrence mentioned has the better answer. Hit Ctrl+R for the script editor, then add this code to the Handlers class:

public static BindUIColumn("Time Taken")
       function CalcTimingCol(oS: Session){
         var sResult = String.Empty;
         if ((oS.Timers.ServerDoneResponse > oS.Timers.ClientDoneRequest))
         {
           sResult = (oS.Timers.ServerDoneResponse - oS.Timers.ClientDoneRequest).ToString();
         }
         return sResult;
       }

This also has the added benefit of sorting correctly.

like image 199
Patrick Szalapski Avatar answered Oct 10 '22 14:10

Patrick Szalapski


UPDATE October 2012 this appears to be built in now.

Click Rules -> Performance -> Show Time-To-Last-Byte

The next request will show the ttlb in the custom column.

UPDATE May 2013 - I upgraded to Fiddler 4.4.4.4 Beta and found that this option is no longer available.

like image 25
mellodev Avatar answered Oct 10 '22 16:10

mellodev