Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug a Fiddler Extension

I am trying to write a fiddler extension that implements IAutoTamper but nothing is happening. What I would like is a way to debug the extension so that I could step through and find out what exactly is failing.

I have already tried attaching Visual Studio to the Fiddler.exe both using the menu item and using the tips suggested by AndyBareWeb on his blog post in response to this question.

Any help will be appreciated.

like image 881
James J. Regan IV Avatar asked Dec 07 '10 21:12

James J. Regan IV


1 Answers

Attaching with Visual Studio should work fine. What specifically happened?

The #1 cause of the problem you've described is that you've failed to make your class public, or you failed to properly add the Fiddler.RequiredVersionAttribute to your assembly.

Inside Fiddler, you should also type the following in the QuickExec box below the session list:

prefs set fiddler.debug.extensions.verbose True

...and then restart Fiddler. You can find some additional debug information in the LOG tab.

like image 73
EricLaw Avatar answered Oct 21 '22 20:10

EricLaw