I'm trying to write a response inspector, and after trying numerous things, I can't get it to appear on the Inspectors tab.
I've tried this basic test, and it doesn't seem to get loaded into Fiddler:
using System.Windows.Forms;using Fiddler;[assembly: RequiredVersion("2.3.0.0")]namespace Test{ public class TestInspector : Inspector2, IResponseInspector2 { public override void AddToTab(TabPage o) { o.Text = "TestInspector"; } public override int GetOrder() { return 0; } public void Clear() { } public byte[] body { get; set; } public bool bDirty { get; private set; } public bool bReadOnly { get; set; } public HTTPResponseHeaders headers { get; set; } }}I've compiled this against Fiddler 4.5.0.0 and 2.5.0.0, and tried loading it into both. Neither seems to work.
I know that my dll is being loaded by Fiddler though. If I add this to the DLL, my Message Box appears while the application is loading.
public class TestExtention : IFiddlerExtension{ public void OnLoad() { MessageBox.Show("Hello Fiddler!"); } public void OnBeforeUnload() {}}I've even tried compiling / loading inspectors I've found on codeplex, but none of them seem to work.
Any help would be greatly appreciated.