What's New in DevTools (Chrome 114)

Sofia Emelianova
Sofia Emelianova

WebAssembly debugging support

DevTools enables Settings. Settings > Experiments > Checkbox. WebAssembly Debugging: Enable DWARF support by default. For more information, see Debugging WebAssembly with modern tools.

This experiment lets you pause execution and debug C and C++ code in Wasm apps, with all the debugging information available to you:

  • Your original source code, mapped using DWARF debugging information.
  • Understandable function names in call stack.
  • Breakpoints support, and more.

A Wasm application paused in the Debugger.

To test Wasm debugging, install the C/C++ DevTools Support (DWARF) extension and step through the code in the Mandelbrot demo.

Chromium issue: 1414289.

Improved stepping behavior in Wasm apps

Step over. Step over in your original code now avoids pausing in disassembly (.wasm file). Previously, it would pause there.

However, stepping ends when it lands outside of the function it started in, for example, after returning from the function.

This behavior is enabled by default in Settings. Settings > Preferences > Sources.

The new setting found in Preferences then Sources.

Chromium issue: 1418938.