I want to intercept the evetn when user clicks on a link in a html page. It reportsthe error below.
SharpDevelop Version : 3.0.0.3800
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : English (United States) (en-US)
Working Set Memory : 100724kb
GC Heap Memory : 29620kb
Exception thrown:
Debugger.DebuggerException: Can not find type DWebBrowserEvents2
at Debugger.MetaData.DebugType.Create(Process process, Nullable`1 domainID, String fullTypeName)
at Debugger.MetaData.DebugType.Create(Module module, UInt32 token)
at Debugger.MetaData.DebugType.LoadMemberInfo()
at Debugger.MetaData.DebugType.Create(Process process, ICorDebugType corType)
at Debugger.MetaData.DebugType.Create(Process process, ICorDebugClass corClass, ICorDebugType[ typeArguments)
at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)
at Debugger.Thread.<get_CallstackEnum>d__0.MoveNext()
at Debugger.Thread.GetCallstack(Int32 maxFrames)
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.CreateItems()
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.RefreshPad()
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.debuggedProcess_Paused(Object sender, ProcessEventArgs e)
---- Recent log messages:
12:07:47.109 [1] INFO - Jump to current line - start
12:07:47.125 [1] INFO - FileService
Jumping to File Position: [Prj\MainWindow.xaml.cs : 153x3]
12:07:47.125 [1] DEBUG - NavigationService -- suspend logging
12:07:47.125 [1] INFO - Open file Prj\MainWindow.xaml.cs
12:07:47.125 [1] DEBUG - NavigationService -- resume logging
12:07:47.125 [1] INFO - FileService
Jumped to File Position: [Prj\MainWindow.xaml.cs : 153x3]
12:07:47.125 [1] INFO - Jump to current line - end (11.1645 ms)
12:07:47.125 [1] INFO - Callstack refresh - start
12:07:47.218 [1] INFO - Callstack refresh - end (98.1697 ms)
12:07:48.453 [1] INFO - Run command ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand
12:07:48.453 [1] INFO - Debugger Command: Continue
12:07:48.453 [1] DEBUG - Debugger: Debugger event: OnResumed()
12:07:48.484 [1] DEBUG - Debugger: Callback: Breakpoint
12:07:48.484 [1] DEBUG - Break
12:07:48.484 [1] DEBUG - Debugger: Debugger event: OnPaused()
12:07:48.484 [1] INFO - Jump to current line - start
12:07:48.484 [1] INFO - FileService
Jumping to File Position: [Prj\MainWindow.xaml.cs : 84x2]
12:07:48.484 [1] DEBUG - NavigationService -- suspend logging
12:07:48.484 [1] INFO - Open file Prj\MainWindow.xaml.cs
12:07:48.484 [1] DEBUG - NavigationService -- resume logging
12:07:48.484 [1] INFO - FileService
Jumped to File Position: [Prj\MainWindow.xaml.cs : 84x2]
12:07:48.484 [1] INFO - Jump to current line - end (2.267 ms)
12:07:48.484 [1] INFO - Callstack refresh - start
12:07:48.515 [1] INFO - Callstack refresh - end (36.3007 ms)
12:07:48.515 [1] ERROR - ThreadException caught
--> Exception:
Debugger.DebuggerException: Can not find type DWebBrowserEvents2
at Debugger.MetaData.DebugType.Create(Process process, Nullable`1 domainID, String fullTypeName)
at Debugger.MetaData.DebugType.Create(Module module, UInt32 token)
at Debugger.MetaData.DebugType.LoadMemberInfo()
at Debugger.MetaData.DebugType.Create(Process process, ICorDebugType corType)
at Debugger.MetaData.DebugType.Create(Process process, ICorDebugClass corClass, ICorDebugType[ typeArguments)
at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)
at Debugger.Thread.<get_CallstackEnum>d__0.MoveNext()
at Debugger.Thread.GetCallstack(Int32 maxFrames)
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.CreateItems()
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.RefreshPad()
at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.debuggedProcess_Paused(Object sender, ProcessEventArgs e)
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper Prj\MainWindow.xaml.cs]
ProjectService.OpenSolution: [Solution: FileName=Prj\Prj.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: Prj]