Showing tag results for Debugging and Diagnostics

Aug 6, 2024
Post comments count0
Post likes count8

Introducing the revamped Attach to Process experience

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
Post comments count0
Post likes count9

Easily navigate code delegates while debugging

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
Post comments count4
Post likes count5

In the Debugger’s Spotlight: A Year in Review

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
Post comments count13
Post likes count5

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

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
Post comments count11
Post likes count5

A unit of profiling makes the allocations go away

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
Post comments count5
Post likes count6

Elevating Debugging with Auto-decompilation and External Sources

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
Post comments count4
Post likes count6

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

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
Post comments count13
Post likes count11

Improving Visual Studio performance with the new Instrumentation Tool

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
Post comments count6
Post likes count8

Visual Studio Toolbox: Debug Threads & Tasks with Parallel Stacks

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
Post comments count7
Post likes count16

Streamlining your Debugging process with Breakpoint Groups

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