Showing results for Debug - 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...

DebuggerCMakeLinux
Oct 16, 2024
5

Improve your debugger game with editable expressions

Junyu Wang
Junyu Wang

Do you ever wish you could quickly test different queries on your collections or datasets while debugging? Do you want to save time and avoid writing code just to inspect your data? If you answered yes, then you will love the new editable expression feature in the Visual Studio debugger. This feature allows you to modify the expressions textbox ...

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
Oct 2, 2024
8

Discover Hidden Insights with Profiler’s External Code Decompilation

Harshada Hole
Harshada Hole

Have you ever wondered what's happening under the hood of your .NET application? Do you want to quickly and easily identify and fix performance bottlenecks? If so, Visual Studio has the perfect tool for you: the profiler. The profiler allows you to analyze your code's performance, pinpoint hot paths, detect memory leaks, address thread contentio...

PerformanceDeveloper ProductivityVisual Studio Profiler
Sep 30, 2024
1

Effortless Instrumentation profiling with Persistent Target Selection

Harshada Hole
Harshada Hole

Ever wished to assess your code's performance without repeatedly choosing the target process or executable for each instrumentation profiling session? If so, you're among many developers who find this task cumbersome and prone to errors, especially when profiling the same target repeatedly. We understand your frustration and have a solution: Vis...

ProfilingVisual Studio Profiler
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 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
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