Microsoft Edge DevTools unveils new utility for memory leak debugging

Debugging should hopefully be a smoother process with the Detached Elements tool.

When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

What you need to know

What you need to know

Memory leaks are no fun. They mess with performance and can be tricky to patch up. That’s why Microsoft has made a new Detached Elements tool to identify problems and help stop leaks.

You can check out Microsoft’s developer-focusedblog postfor a full and proper rundown of how the Detached Elements tool works. For those of you outside the loop on what memory leaks even are, though, here’s theWindows 11maker’s description: “Memory leaks occur when the JavaScript code of an application retains more and more objects in memory that it doesn’t need any longer instead of releasing them for the browser to garbage collect (GC). For long-running apps, small memory leaks of only a few kilobytes can add up to noticeably degrade performance over time.”

You can test out the new tool’s capabilities via ademo app located over on GitHub. It will let you simulate memory leaks and see where the Detachable Elements utility comes in handy. However, Microsoft urges those interested in its new creation to test out the tool in real scenarios to discover any potential problems. As usual, the company welcomes developer feedback, which can be given via the DevTools feedback button or, alternatively, by throwing tweets at theEdge DevTools Twitter account.

There’s an extensive amount ofdocumentation on the toolover at Microsoft’s site if you really want to dig into the weeds of it and learn more.

Get the Windows Central Newsletter

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

Robert Carnevale is the News Editor for Windows Central. He’s a big fan of Kinect (it lives on in his heart), Sonic the Hedgehog, and the legendary intersection of those two titans, Sonic Free Riders. He is the author ofCold War 2395. Have a useful tip? Send it to robert.carnevale@futurenet.com.