What's New in DevTools (Microsoft Edge 123)
These are the latest features in the Stable release of Microsoft Edge DevTools.
Microsoft Edge 123 adds a new experiment called In heap snapshots, treat backing store size as part of the containing object. If you enable this experiment, the Memory tool reports shallow sizes in a way that more closely matches JavaScript behavior. By enabling this experiment, containers and their contents can now be represented as a single item, such as:
- An
Object
and its properties. - An
Array
and its contents. - A
Map
and its contents. - A
Set
and its contents.
For example, to find the largest arrays, you can sort Array
instances by shallow size, as shown below.
Default behavior for heap snapshots:
Heap snapshots with the new experiment enabled:
This experiment is helpful because heap snapshots in the Memory tool show a complete list of everything allocated in the V8 and Blink heaps. Sometimes that list is a little too fine-grained, breaking out an item as if it is multiple items. For example, the list in the heap snapshot represents each JavaScript Array
instance separately from the contents of that Array
, which are called (object elements)[]
. However, in JavaScript code, an Array
is a single entity, rather than an array instance and separate contents of the array.
See also:
The Crash analyzer tool is now available by default, and is no longer an experiment that needs to be enabled. To open the Crash analyzer tool, in the Activity Bar, click the More tools (+) menu, and then select Crash analyzer.
The Crash analyzer tool helps you create a JavaScript stack trace, and applies your sourcemaps to the stack trace so that you can debug faster:
See also:
The Command Palette experimental feature has been removed from Microsoft Edge, starting with version 123.
See also:
- Introducing the Command Palette in What's New in DevTools (Microsoft Edge 106).
- New keyboard shortcut for the Command Palette experiment in What's New in DevTools (Microsoft Edge 107).
- Improved DevTools navigation via Command Palette in What's New in DevTools (Microsoft Edge 108).
- Navigate directly to the Styles and Computed Styles tabs of the Elements tool in What's New in DevTools (Microsoft Edge 109).
When DevTools was undocked into its own separate window, and you selected a webpage element to inspect, the DevTools window lost focus and was obscured by the webpage being analyzed. This bug has been resolved, and the DevTools window stays in focus as the topmost window.
See also:
Microsoft Edge 123 also includes the following updates from the Chromium project: