C#即时(JIT)调试而不是此对话框 有关调用的详细信息,请参阅此消息的结尾 即时(JIT)调试,而不是此对话框。 **************例外文本************** System.InvalidOperationException:无法创建浏览器。 在Xilium.CefGlue.CefBrowserHost.CreateBrowser(CefWindowInfo窗口信息、CefClient客户端、CefBrowserSettings设置、字符串url、CefRequestContext请求上下文) 在Xilium.CefGlue.WindowsForms.CefWebBrowser.OnHandleCreated(EventArgs e) 位于System.Windows.Forms.Control.WmCreate(Message&m) 位于System.Windows.Forms.Control.WndProc(Message&m) 在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&m)中 在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&m)中 在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd、Int32 msg、IntPtr wparam、IntPtr lparam)中 **************JIT调试************** 要启用即时(JIT)调试,请为 应用程序或计算机(machine.config)必须具有 在system.windows.forms节中设置的值。 应用程序还必须通过调试进行编译 启用。 例如: 启用JIT调试时,任何未处理的异常 将发送到计算机上注册的JIT调试器 而不是由此对话框处理。

C#即时(JIT)调试而不是此对话框 有关调用的详细信息,请参阅此消息的结尾 即时(JIT)调试,而不是此对话框。 **************例外文本************** System.InvalidOperationException:无法创建浏览器。 在Xilium.CefGlue.CefBrowserHost.CreateBrowser(CefWindowInfo窗口信息、CefClient客户端、CefBrowserSettings设置、字符串url、CefRequestContext请求上下文) 在Xilium.CefGlue.WindowsForms.CefWebBrowser.OnHandleCreated(EventArgs e) 位于System.Windows.Forms.Control.WmCreate(Message&m) 位于System.Windows.Forms.Control.WndProc(Message&m) 在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&m)中 在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&m)中 在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd、Int32 msg、IntPtr wparam、IntPtr lparam)中 **************JIT调试************** 要启用即时(JIT)调试,请为 应用程序或计算机(machine.config)必须具有 在system.windows.forms节中设置的值。 应用程序还必须通过调试进行编译 启用。 例如: 启用JIT调试时,任何未处理的异常 将发送到计算机上注册的JIT调试器 而不是由此对话框处理。,c#,winforms,jit,C#,Winforms,Jit,我的JIT调试已启用,如下所述: 为什么我会犯这个错误。如何防止出现此错误?应用程序正常工作,但我不知道为什么会出现此错误以及如何解决或删除它。步骤1: 即时调试是一项功能,当在Visual Studio外部运行的程序遇到致命错误时,它会自动启动Visual Studio调试器。即时调试允许您在操作系统终止应用程序之前检查错误。发生错误时,不需要运行Visual Studio调试器 启用/禁用实时调试的步骤 在Visual Studio中 在“工具”菜单上,单击“选项” 在“选项”对话框中,选

我的JIT调试已启用,如下所述:

为什么我会犯这个错误。如何防止出现此错误?应用程序正常工作,但我不知道为什么会出现此错误以及如何解决或删除它。

步骤1:

即时调试是一项功能,当在Visual Studio外部运行的程序遇到致命错误时,它会自动启动Visual Studio调试器。即时调试允许您在操作系统终止应用程序之前检查错误。发生错误时,不需要运行Visual Studio调试器

启用/禁用实时调试的步骤

在Visual Studio中

  • 在“工具”菜单上,单击“选项”
  • 在“选项”对话框中,选择调试文件夹
  • 在调试文件夹中,选择实时页面
  • 在“启用这些代码类型的即时调试”框中,选择或清除相关程序类型:托管、本机或脚本

    要禁用即时调试,一旦启用,您必须以管理员权限运行。启用即时调试将设置注册表项,并且需要管理员权限才能更改该项

  • 以及:

  • 单击“确定”
  • 有关JIT调试器的更多信息,请查看这些链接。还可以启用/禁用即时调试

    步骤2:

    如果未安装Visual Studio,我建议您禁用Microsoft Internet Explorer中的脚本调试,并检查弹出窗口是否消除

  • 打开Internet Explorer
  • 单击工具
  • 单击internet选项>>然后单击高级选项卡
  • 在浏览部分>>下,取消选中“禁用脚本调试(其他脚本和Internet Explorer)”和“显示关于每个脚本错误的通知”

  • 这是一个未处理的异常。在调试器中运行它…我认为您不想在客户机器上打开调试会话来解决此问题,所以我认为您的问题是该组件引发异常的原因。您可以尝试Xilium(是组件供应商吗?)支持,自行调试或在此处发布更多详细信息。啊,报告如此严重的错误是多么糟糕的方式啊。这都是开源的,你必须调试它。请告诉我这在客户端机器上没有出现!您还需要为WinForms启用其他JIT调试,如下所述:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.InvalidOperationException: Failed to create browser.
       at Xilium.CefGlue.CefBrowserHost.CreateBrowser(CefWindowInfo windowInfo, CefClient client, CefBrowserSettings settings, String url, CefRequestContext requestContext)
       at Xilium.CefGlue.WindowsForms.CefWebBrowser.OnHandleCreated(EventArgs e)
       at System.Windows.Forms.Control.WmCreate(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.