Answer the question
In order to leave comments, you need to log in
Debugging JavaScript?
I am making a small front-end application on backbone + requirejs. I ran into such a problem Chrome, FF, Opera - everything works fine, Explorer - it works like half, while it does not give any errors.
The part that processes data from the server does not work.
Who will tell you some debugging tools for IE so that you can normally see Ajax requests to display messages from the console (I’m already tired of sticking alerts), I downloaded the microsovt debugger - but it’s disgracefully dull. What is a firebag type thread not for a donkey?
Answer the question
In order to leave comments, you need to log in
Perhaps not an answer to the question, but look towards the encoding in which the responses from the server come - I have constant problems with this when working with ajax
IE8+ has a firebug-like debugger (with console, home, and query view). If for purely viewing requests - Fiddler2 can be used.
Look towards "Compuware dynaTrace AJAX Edition".
This is not exactly what you described, but allows you to analyze the process of executing the code in detail and find the problem.
It so happened that my current project is designed exclusively for IE (corporate segment). At home, we debug using VS, while in IE you need to uncheck "Disable script debugging ..." - both items (on the Advanced tab). But you can debug if you know the problem area.
If not, we use the programs recommended above - Fiddler and dynaTrace. Essential tools.
Almost solved the problem. The reason is awfully simple! Donkey by default does not understand the standard backbone sync if the request goes to another domain. Will have to figure it out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question