

Writes the number of times that the line of code where count was called was executed. If not, it will write a message to the console and throw an exception. Opt + Scroll, Cmd + Cick and drag with two fingersĬonsole.assert(expression) Clear console: Clear all console messagesĪlt + Scroll, Ctrl + Cick and drag with two fingers.Filter: Hide and unhide messages from script files.XMLHTTPRequest logging: Turn on to view the XHR log.Launch line number dialog when viewing a fileĮvaluate code selected in scripts in the console Search scripts, stylesheets and snippets by filenameįilter/navigate to a JavaScript function/CSS rule when viewing a file

Heap profiler: shows memory distribution by your page's JavaScript objects and related DOM nodesįind or navigate to specific files, methods or line numbers in an web app within the Sources panel.CPU profiler: shows where execution time is spent in your page's JavaScript functions.Pause on uncaught exceptions (usually the one you want) Pause on All exceptions (including those caught within try/catch blocks)

Toggle console and evaluate code selected in Sources panel Select the Timeline heading to change sort modes for the network.Įxport network data into HAR format Sources Panel ◊ Understanding the information displayed within each column Go to line of property value declaration in sourceĮmulate an element's pseudo state ( :active, :hover, :focus, :visited) Go to line of style rule property declaration in source
