Javascript: "Source code unavailable for this location" msg during debugging with IE

I am trying to debug some problems using IE 8 developer tools.

However, after running the code below, the debugger generates an error "Source code is not available for this location"

window.onload = function() { tabberAutomatic(tabberArgs); }; 

What does it mean?

The above code is part of the code below, which basically launches the tabberAutomatic function after the document has finished loading:

 /* This function adds tabberAutomatic to the window.onload event, so it will run after the document has finished loading. */ var oldOnLoad; if (!tabberArgs) { tabberArgs = {}; } /* Taken from: http://simon.incutio.com/archive/2004/05/26/addLoadEvent */ oldOnLoad = window.onload; if (typeof window.onload != 'function') { window.onload = function() { tabberAutomatic(tabberArgs); }; } else { window.onload = function() { oldOnLoad(); tabberAutomatic(tabberArgs); }; } 

I am trying to debug the problem described in the previous browser question by showing a progress bar as it progresses, even when the page is loaded

Thanks for the inputs !!

+4
source share
1 answer

Are you viewing the desired file in the debugger?

You tried this, it explains a lot: http://msdn.microsoft.com/en-us/library/dd565625(v=vs.85).aspx

0
source

Source: https://habr.com/ru/post/1386279/


All Articles