Code:
namespace ClassLibrary2
{
public class Class1 : IAutoTamper, IFiddlerExtension
{
private UI ui;
private bool bLoaded;
...
public Class1() {
bLoaded= false;
}
public void OnLoad()
{
this.ui = new UI();
this.bLoaded = true;
}
public void OnBeforeUnload()
{ /*noop*/
}
public void AutoTamperRequestBefore(Session oSession)
{ /*noop*/
if (bLoaded && url.Contains(oSession.hostname)) {
.....
}
}
public void AutoTamperRequestAfter(Session oSession)
{
}
public void AutoTamperResponseBefore(Session oSession)
{
.....
}
public void AutoTamperResponseAfter(Session oSession)
{ /* noop */
}
public void OnBeforeReturningError(Session oSession) { /* noop */ }
}
}
Error:
---------------------------
Uncaught Exception in Session #1
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report using the Help | Send Feedback menu.
未将对象引用设置到对象的实例。
Type: System.NullReferenceException
Source: ClassLibrary2
在 ClassLibrary2.Class1.AutoTamperRequestBefore(Session oSession)
在 Fiddler.FiddlerExtensions.DoAutoTamperRequestBefore(Session oSession)
在 Fiddler.Session._executeObtainRequest()
在 Fiddler.Session.RunStateMachine()
在 Fiddler.Session.Execute(Object objThreadState)
Fiddler v4.6.2.2 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0]
---------------------------
确定
---------------------------
Code:
namespace ClassLibrary2
{
public class Class1 : IAutoTamper, IFiddlerExtension
{
private UI ui;
private bool bLoaded;
...
public Class1() {
bLoaded= false;
}
public void OnLoad()
{
this.ui = new UI();
this.bLoaded = true;
}
public void OnBeforeUnload()
{ /*noop*/
}
public void AutoTamperRequestBefore(Session oSession)
{ /*noop*/
if (bLoaded && url.Contains(oSession.hostname)) {
.....
}
}
public void AutoTamperRequestAfter(Session oSession)
{
}
public void AutoTamperResponseBefore(Session oSession)
{
.....
}
public void AutoTamperResponseAfter(Session oSession)
{ /* noop */
}
public void OnBeforeReturningError(Session oSession) { /* noop */ }
}
}
Error:
---------------------------
Uncaught Exception in Session #1
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report using the Help | Send Feedback menu.
未将对象引用设置到对象的实例。
Type: System.NullReferenceException
Source: ClassLibrary2
在 ClassLibrary2.Class1.AutoTamperRequestBefore(Session oSession)
在 Fiddler.FiddlerExtensions.DoAutoTamperRequestBefore(Session oSession)
在 Fiddler.Session._executeObtainRequest()
在 Fiddler.Session.RunStateMachine()
在 Fiddler.Session.Execute(Object objThreadState)
Fiddler v4.6.2.2 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0]
---------------------------
确定
---------------------------
I have just installed FIDDLER v4.6 (under C:\Program Files (x86)\Fiddler2.) When starting up it gives below message. Rather than add relevant permissions to that network path, I'd rather re-config so the path is on local drive. However, I can't find a relevant config under Preferences tab; is it configured within REGEDIT, i.e. to define startup and/or script paths ?? Thanks in anticipation.
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
Access to the path '<network_path>\Fiddler2\Captures\Requests\' is denied.
Type: System.UnauthorizedAccessException
Source: mscorlib
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Fiddler.CONFIG.EnsureFoldersExist()
Fiddler v4.6.2.3 (x64 AMD64) [.NET 4.0.30319.34209 on Microsoft Windows NT 6.3.9600.0]
Hello,
When I open a URL in the browser (Internet Explorer), using FiddlerCore I can get all the raw HTTP requests/responses. However I would like to identify the time when a Web Page is completely loaded in the browser. Is it possible to do this? Is there any event which I can attach to?
Thanks
Shashank
So I'm on a server with no internet access (trying to debug an intranet application).
In Fiddler Options, OI have "Check for updates on startup" cleared, and "Offer upgrade to beta versions" cleared as well. Seconds after starting it, I get an exception:
---------------------------
Awww, Fiddlesticks!
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
VersionCheckFailed: Server Response Code = 0
Type: System.IO.InvalidDataException
Source: Fiddler
at Fiddler.Updater.GetLatestVersion(Boolean includeBetaVersions, Boolean isEmergencyCall)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Fiddler v4.6.2.3 (x64 AMD64) [.NET 4.0.30319.34209 on Microsoft Windows NT 6.2.9200.0]
---------------------------
OK
---------------------------
Shouldn't it, y'know, not be checking for updates when I explicitly told it not to? Application dies, game over...
After I remapped the host, the Fiddler give me a HTTP 504, who can tell me how to solve it,please