Showing results for Debugging and Diagnostics - Visual Studio Blog

Oct 7, 2024
4

Accelerate C++ Debugging with Enhanced Conditional Breakpoints

Harshada Hole
Harshada Hole

Are you tired of waiting for your conditional breakpoints to hit in C++? Do you wish there was a way to speed up the debugging process and get to the root of the problem faster? If so, you're in luck! We have some exciting news for you: Visual Studio 2022 has significantly improved the performance of conditional breakpoints in C++ through a rewo...

Debugging and DiagnosticsBreakpoints
Sep 25, 2024
12

Organize Your Breakpoints like a pro

Harshada Hole
Harshada Hole

Do you feel overwhelmed by the sheer number of breakpoints in your Visual Studio project? Wish you could categorize and toggle them on and off with ease? The new breakpoint group feature in Visual Studio 2022 is here to transform your debugging experience. Breakpoint groups allow you to create custom collections of breakpoints and apply vari...

Debugging and DiagnosticsDeveloper ProductivityBreakpoints
Sep 9, 2024
0

Supercharge C++ Debugging with AI-Generated breakpoint expressions

Harshada Hole
Harshada Hole

Have you ever spent hours debugging your C++ code, struggling to set up the right conditional breakpoint or tracepoint? Or wished for a smarter way to obtain detailed runtime information without manually crafting complex expressions? You're in luck! With Visual Studio 2022, the latest GitHub Copilot feature now offers AI-generated expressions for b...

Debugging and DiagnosticsBreakpoints
Sep 5, 2024
24

Easily dock and float tool windows

Mads Kristensen
Mads Kristensen

You’re in the middle of a debugging session, attempting to chase down that one issue that is causing you trouble. In the heat of the moment, you grab a tool window and drag it out of its docked position – purely by accident. You didn’t mean to drag it, but sometimes when you move the mouse around, things like that happen. Your full attention now sh...

Debugging and DiagnosticsVisual Studio 2022Keyboard Shortcuts
Aug 20, 2024
4

New debugging and diagnostic features

Harshada Hole
Harshada Hole

Debugging and diagnostics are vital skills for any developer, but they can also be difficult and time-consuming to get proficient . That's why we've added some fantastic new features and enhancements to Visual Studio 2022 v17.11 that will help you find and resolve bugs faster and easier than ever before. Here are some of the highlights. Download th...

Debugging and DiagnosticsVisual Studio 2022Debugging
Aug 6, 2024
8

Introducing the revamped Attach to Process experience

Carlos Guerra Vazquez
Carlos Guerra Vazquez

One of the most powerful and frequently used features of Visual Studio is the Attach to Process dialog, which enables you to debug processes running on your machine or on a remote machine. For anything you could develop using Visual Studio, the Attach to Process dialog allows you to quickly attach the debugger to the processes you want to inspect a...

Debugging and DiagnosticsVisual Studio 2022UI Refresh
Jun 18, 2024
9

Easily navigate code delegates while debugging

Mark Downie
Mark Downie

Delegates are everywhere in modern code; a delegate is a type that represents references to methods with a particular parameter list and return type. Developers use delegates to pass methods as arguments to other methods. One example you may be familiar with is with event handlers. Handlers are methods you can invoke through delegates. Delegates re...

Debugging and Diagnostics
Jan 31, 2024
4
5

In the Debugger’s Spotlight: A Year in Review

Harshada Hole
Harshada Hole

Reflecting on the past year's journey, our team was on a mission to enhance debugging tools, ensuring they became more efficient and user-friendly. We dedicated our efforts to boosting inner-loop productivity, making external source debugging more seamless, improving overall performance, and optimizing memory analysis. And, of course, we were eager...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Dec 15, 2023
13
4

Unlocking the Secrets of Managed Memory: Dive into Event Handler Leak Insights!

Massimo Giusti
Massimo Giusti

Event handler leaks have been around for a long time, and they are one of the peskiest issues WPF (Windows Presentation Foundation) developers regularly deal with. You might be thinking: What makes event handler leaks so important? Event handler leaks are easy to cause, all it takes is to forget to unsubscribe to an event. Additionally, they are qu...

Debugging and DiagnosticsVisual Studio 2022Productivity
Sep 25, 2023
11
5

A unit of profiling makes the allocations go away

Nik Karpinsky
Nik Karpinsky

In Visual Studio 17.8 Preview 2 we have updated unit test profiling, allowing you to use any of the available tools in the performance profiler – not just the instrumentation tool. With this change, it’s easy to quickly profile small units of work in isolation, make changes, and then remeasure and validate the impact of the change. Assuming you hav...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity