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:
usingSystem.Windows.Forms;usingFiddler;[assembly: RequiredVersion("2.3.0.0")]namespaceTest{ publicclassTestInspector : Inspector2, IResponseInspector2 { publicoverridevoidAddToTab(TabPage o) { o.Text = "TestInspector"; } publicoverrideintGetOrder() { return0; } publicvoidClear() { } publicbyte[] body { get; set; } publicboolbDirty { get; privateset; } publicboolbReadOnly { get; set; } publicHTTPResponseHeaders 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.
publicclassTestExtention : IFiddlerExtension{ publicvoidOnLoad() { MessageBox.Show("Hello Fiddler!"); } publicvoidOnBeforeUnload() {}}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.