none
IE10 F12 visible source code does not update with changes to actual source code

    Question

  • I am running Windows 7 Professional.  I have a site running with Internet Information Services.  When I make changes to a page on the site, refreshing the page in Internet Explorer 10 will display the changes, but refreshing the F12 debugger will not.

    Process:

    1. Run site on IIS.
    2. Go to a page on the site in Internet Explorer.
    3. Modify the page in Visual Studio 2012.
    4. Refresh page in Internet Explorer.
    5. Open F12.

    At this point F12 still shows the old code, and if, for instance, a JavaScript error happens and I try to go to that line, it appears to highlight the characters at the correct index of characters (if the block of text visible was updated), but the characters highlighted are of the old code.

    Closing IE and reopening it appears to fix the problem.  Is there a more convenient way?  Windows Update says I'm up to date.

    Tuesday, July 23, 2013 3:27 PM

Answers

  • Hi,

    there should be a refresh button on the Developer tools....

    the script tab shows the server source..and should match the View>Source markup.. the HTML tab shows the 'computed' markup (after error correction for parsing), but does not show markup from injected AJAX responses


    Rob^_^

    Wednesday, July 24, 2013 2:46 AM

All replies

  • Hi,

    there should be a refresh button on the Developer tools....

    the script tab shows the server source..and should match the View>Source markup.. the HTML tab shows the 'computed' markup (after error correction for parsing), but does not show markup from injected AJAX responses


    Rob^_^

    Wednesday, July 24, 2013 2:46 AM
  • Oh, thanks.  With more testing, I see that what I thought was the cause was a coincidence.
    Wednesday, July 24, 2013 7:06 PM