Skip to first unread message

Mickael Pic

unread,
Nov 3, 2015, 4:36:46 PM11/3/15
to Fiddler
Hi,

I am trying to add a column to show the method name.
In older version of Fiddler the following used to work without problems.
But after a recent update the column does not show anymore and I cannot find what is wrong.

This is what I use to have in the CustomRules.js

public static BindUIColumn("Method")
 function CalcMethod(oS: Session){
  if (null != oS.oRequest)
  {
   var index: int = oS.utilFindInRequest("<methodName>",false);
   var endIndex: int = oS.utilFindInRequest("</methodName>",false);
   if(index > -1 && endIndex > -1)
   {
    return System.Text.Encoding.UTF8.GetString(oS.requestBodyBytes).substring(index + 12,endIndex);
   }
  }
  return String.Empty;
 }

Note: I also tried the example in the sample and it did not work neither.

Help would be very welcomed.

EricLaw

unread,
Nov 3, 2015, 5:51:27 PM11/3/15
to Fiddler
If you're not getting a compiler error when Fiddler starts, then the column is probably there and you just don't see it. Try right-clicking the column headers and choosing Ensure all columns are visible. Then scroll the Web Sessions list as needed to view all of the columns.
Reply all
Reply to author
Forward
0 new messages