With Chrome, you can start the “Developer Tools ” window from the Wrench menu > Tools > Developer tools (keyboard shortcut is “Ctrl+Shift+I”).
From there, you can select the “Scripts” tab and select your script in the list of all javascript files of your page.
Once you javascript file is shown, click on the line number to add a breakpoint.
If you want to debug dynamically loaded code (see Ext.Loader for details), you should add something like the following in your application:
Ext.Loader.setConfig({disableCaching: false});
Finally, reload your page and if the same file is loaded again, Chrome shall break the execution when executing that line.
—————————————————-
Posted By :
Manish Kumar Choithani
Senior /Lead Architect
Reference Email Ids:
[email protected]
[email protected]
[email protected]
[email protected]
From there, you can select the “Scripts” tab and select your script in the list of all javascript files of your page.
Once you javascript file is shown, click on the line number to add a breakpoint.
If you want to debug dynamically loaded code (see Ext.Loader for details), you should add something like the following in your application:
Ext.Loader.setConfig({disableCaching: false});
Finally, reload your page and if the same file is loaded again, Chrome shall break the execution when executing that line.
—————————————————-
Posted By :
Manish Kumar Choithani
Senior /Lead Architect
Reference Email Ids:
[email protected]
[email protected]
[email protected]
[email protected]