Showing results for Debugger - Visual Studio Blog

Oct 22, 2024
2

Debug CMake Scripts on Linux with Visual Studio

Sinem Akinci
Sinem Akinci

If you are working on a CMake project that targets Linux, you may have encountered some challenges when trying to debug your CMake scripts and CMakeLists.txt files. You may have wondered why your variables are not set correctly, or why your custom commands are not executed as expected. Or you may have simply wanted to step through your CMake script...

DebuggerLinuxCMake
Sep 10, 2024
6

Break for Async User-Unhandled exceptions in the Visual Studio Debugger

Anders Sundheim
Anders Sundheim

Before .NET 9, the debugger was unable to track exceptions thrown from user-code async methods into non-user code framework methods, such as ASP.NET middleware. We are pleased to announce that you will now start seeing the debugger stop for these user-unhandled exceptions in your ASP.NET applications, as well as anywhere else this might happen! ...

Debugger
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
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
Sep 15, 2022
9
10

DataTable Visualizer Improvements

Harshada Hole
Harshada Hole

Your favorite DataTable visualizer has now got a makeover with all new improvements coming in 17.4 Preview 2. The DataTable visualizers will now support sorting, filtering, exporting, and theming like IEnumerable visualizer.   The DataTable Visualizer allows you to view the contents of a DataTable, DataSet, DataView, or DataViewM...

Debugging and DiagnosticsVisual Studio 2022Productivity
Apr 21, 2022
24
1

View .NET collections with the new IEnumerable Debugger Visualizer

Harshada Hole
Harshada Hole

While debugging .NET code, inspecting a large and complex collection object can be tedious and difficult. Hence, starting from Visual Studio 17.2. Preview 2, we are introducing a new Visualizer, which will help you view IEnumerable objects such as Arrays, List, etc. in a customized tabular view.  The IEnumerable visualizer will display collectio...

Debugging and DiagnosticsVisual Studio 2022Developer Productivity
Jul 15, 2021
3
1

Debug code with force run to cursor

Harshada Hole
Harshada Hole

Starting Visual Studio 2022 Preview 2 you can use "Force Run To Cursor". It is like "Run To Cursor," but you can keep your breakpoints and the debugger will skip over them until it reaches the line of code with the cursor. It will also skip any of the first-chance exceptions break conditions that may occur.

Visual StudioDebugging and DiagnosticsVisual Studio 2022
Oct 8, 2020
8
0

Cross Platform Managed Memory Dump Debugging

Mark Downie
Mark Downie

With the release of Visual Studio 16.8 Preview 3 you now have the ability to open and analyze managed dumps collected on Linux and use the best in class debugging tools available in Visual Studio.

DiagnosticsDebugger