Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4052936
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:22:58+00:00 2026-05-20T14:22:58+00:00

If you have IE8, you may have noticed a really handy feature that MS

  • 0

If you have IE8, you may have noticed a really handy feature that MS has added. Hit F12 and Developer Tools, a firebug like debugger, pops up. This is extremely useful for debugging purposes, and i’m wondering if there is a way to pop up the Developer Tools from a WebBrowser control inside a .NET application.

My situation is this: I have a C# application that has an embedded WebBrowser control. The C# app and the DHTML web browser contents communicate with each other using the ObjectForScripting (C# side) and window.external (DHTML side) interfaces, so in order to test/debug/troubleshoot the full functionality, i need a way to trigger Developer Tools from within the WebBrowser control. Up to now we’ve been limited to using Firebug Lite which is severely limited or triggering a step debug session of the javascript using the ‘debugger;’ js, but now we’re getting to the point where those options becoming a real hassle and don’t allow the full features that we would get out of having something like Firebug or Developer Tools at our disposal.

What I’d really love to do is to be able to pop up Developer Tools from inside my WebBrowser control while the app is running, but I haven’t found a way to accomplish this yet.

Has anybody else ran into this issue and found out if there’s a way to make it happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:22:59+00:00Added an answer on May 20, 2026 at 2:22 pm

    No, as others have said this is not possible. However there is a way you can wire most of the window errors through to a custom handler.
    Once the document has finished loading you can attach a listener to the window. e.g.

    webBrowser.DocumentCompleted += (o, e) =>
    {
        webBrowser.Document.Window.Error += (w, we) =>
        {
            we.Handled = true;
    
            // Do something with the error...
            Debug.WriteLine(
                string.Format(
                   "Error: {1}\nline: {0}\nurl: {2}",
                   we.LineNumber, //#0
                   we.Description, //#1
                   we.Url));  //#2
        };
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(The target browser is IE8) I have a div that contains a list of
For IE8 compatibility, we have added the X-UA-Compatible: IE=EmulateIE7 header to the IIS response
I have some CSS that doesn't behave correctly with IE8. It works fine with
I have some code that I have managed to get working in Chrome, IE8,
I have come across IE8's 31 CSS file limit. I am thinking that, unless
Does IE8 have rendering bugs like IE6 or IE7? If I make my site
I have checked IE8, FF 3.5 , Opera 9 none of them have support
I know IE7 & IE8 supposedly have support for using multiple CSS class selectors,
I have a problem with IE8 and the opening of a new window with
i have a problem with IE8 + jQuery.css('top') function. 1) I have a DIV

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.