How to find what code is run by a button or element in Chrome using Developer Tools

Alexander Pavlov’s answer gets the closest to what you want. Due to the extensiveness of jQuery’s abstraction and functionality, a lot of hoops have to be jumped in order to get to the meat of the event. I have set up this jsFiddle to demonstrate the work. 1. Setting up the Event Listener Breakpoint You … Read more

Access function location programmatically

The answer, for now, is no. The [[FunctionLocation]] property you see in Inspector is added in V8Debugger::internalProperties() in the debugger’s C++ code, which uses another C++ function V8Debugger::functionLocation() to gather information about the function. functionLocation() then uses a number of V8-specific C++ APIs such as v8::Function::GetScriptLineNumber() and GetScriptColumnNumber() to find out the exact information. All … Read more

Custom.css has stopped working in 32.0.1700.76 m Google Chrome update

Support for Custom.css has been removed from Chrome in version 32. This answer provides two methods for easily activating style sheets in the developer tools. The second method is recommended, but only works for Chrome 33+, the first method also works for Chrome 32. Both methods are Chrome extensions, to use the examples below, follow … Read more

Understanding Chrome network log “Stalled” state

Google gives a breakdown of these fields in the Evaluating network performance section of their DevTools documentation. Excerpt from Resource network timing: Stalled/Blocking Time the request spent waiting before it could be sent. This time is inclusive of any time spent in proxy negotiation. Additionally, this time will include when the browser is waiting for … Read more

Multiple URLs copy in Sources/Network tab

make sure Network panel is active switch devtools Dock side in the menu to a detached (floating) window Next time you can press CtrlShiftD to toggle docking. in the now detached devtools press CtrlShifti or ⌘⌥i on MacOS, which will open devtools-on-devtools in a new window Run the following code in this new window: copy(UI.panels.network.networkLogView.dataGrid.rootNode().flatNodes.map(n … Read more