SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Crash with WebBrowser component

Last post 01-23-2010 9:09 PM by DavidSrbecky. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-31-2009 11:19 AM

    Crash with WebBrowser component

    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]

     

  • 01-23-2010 9:09 PM In reply to

    • DavidSrbecky
    • Top 10 Contributor
    • Joined on 08-22-2005
    • Usti nad Labem, Czech Republic
    • Posts 481
    • Team Members

    Re: Crash with WebBrowser component

    If you can still reproduce the problem, would mind sending me a project that reproduces it to   dsrbecky at gmail dot com?

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.