Showing results for Debugging and Diagnostics - Visual Studio Blog

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
5

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
Sep 6, 2023
5
6

Elevating Debugging with Auto-decompilation and External Sources

Harshada Hole
Harshada Hole

Visual Studio has been supporting external sources debugging and decompilation for some time now. However, with the release of Visual Studio 17.7, the debugger took a significant leap forward by introducing Auto-decompilation for .NET libraries making the external code debugging in Visual Studio much more streamlined and effortless. Its integrated ...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Jul 25, 2023
4
6

Rock Your Debugging Game: Parallel Stack Window Tips You Need to Know!

Harshada Hole
Harshada Hole

In Visual Studio 2022 17.6 and 17.7 we added a ton of new features in Parallel Stack Window that can take your multithreaded debugging to the next level. But what can the Parallel Stack Window do for you? The answer is simple - it offers valuable insights into how your code functions in multithreaded or parallel or async environments. Understand...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Apr 13, 2023
13
10

Improving Visual Studio performance with the new Instrumentation Tool

Nik Karpinsky
Nik Karpinsky

Summary With the release of Visual Studio 2022 version 17.6 we are shipping our new and improved Instrumentation Tool in the Performance Profiler. Unlike the CPU Usage tool, the Instrumentation tool gives exact timing and call counts which can be super useful in spotting blocked time and average function time. To show off the tool let’s use it to ...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Apr 6, 2023
6
8

Visual Studio Toolbox: Debug Threads & Tasks with Parallel Stacks

Leslie Richardson
Leslie Richardson

The Visual Studio Toolbox show helps you become a more productive developer by focusing on tooling in and out of Visual Studio.  Our latest episodes of VS Toolbox (available both on Learn and YouTube) feature Mark Downie and Ramkumar Ramesh from the Visual Studio Diagnostics team. They demonstrate how you can use the Threads and Tasks views of the ...

Visual StudioDebugging and DiagnosticsVisual Studio 2022
Mar 21, 2023
7
16

Streamlining your Debugging process with Breakpoint Groups

Harshada Hole
Harshada Hole

Have you ever had a situation when you are debugging a complex scenario with a huge list of breakpoints, and you find yourself scrolling and tapping in the breakpoints windows to disable/enable them individually and repetitively? Then the new Breakpoint Groups feature in Visual Studio may be the answer for you. This feature will allow you to cre...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Mar 14, 2023
9
4

Visual Studio 2022 v17.6 Preview 2 is now available

Marian Luparu
Marian Luparu

Preview 2 for Visual Studio 17.6 is now available! If you are a game developer, a mobile developer, or are interested in learning new tricks to better debug your code, check out this latest release. It’s as easy as upgrading your Preview channel in the Visual Studio installer. And if you haven’t activated your Preview channel for Visual Studio y...

.NETDebugging and DiagnosticsC++
Feb 21, 2023
74
12

Visual Studio 2022 – 17.5 Released

Anthony Cangialosi
Anthony Cangialosi

We’re excited to announce that Visual Studio 17.5 is now generally available. This release is full of updates that take friction out of your daily workflows making it easier for you stay in the zone while you code. Features like all-in-one search and intent-based suggestions help you move faster, while improved build and debug speeds ensure your ID...

.NETVisual StudioDebugging and Diagnostics