Showing results for Debug - Visual Studio Blog

Dec 4, 2024
7

How Inline Return Values Simplify Debugging in Visual Studio 2022

Harshada Hole
Harshada Hole

Have you ever found yourself creating temporary variables just to inspect return values from functions? It’s a small task that can quickly become tedious, breaking your rhythm and cluttering up your code. Visual Studio 2022 introduces a smarter way to handle this with "Inline Return Values," allowing you to stay focused on coding without the extra ...

Debugging and DiagnosticsGitHub CopilotDeveloper Productivity
Dec 2, 2024
2

AI-Powered Insights: Streamlining Variable Analysis with GitHub Copilot in Visual Studio

Harshada Hole
Harshada Hole

Tired of spending countless hours troubleshooting errors and unexpected values in your code? Visual Studio 2022 introduces GitHub Copilot Variable Analysis. This powerful tool makes inspecting and analyzing variables from Locals, Autos, watch windows and DataTips effortless, helping you solve issues faster and cutting down on time and frustration. ...

Debugging and DiagnosticsGitHub CopilotDeveloper Productivity
Nov 28, 2024
1

Transform your debugging experience with GitHub Copilot

Wendy Breiding (SHE/HER)
Wendy Breiding (SHE/HER)

Are your unit tests failing, and do you want to debug them more effectively? The latest feature in Visual Studio 2022, powered by GitHub Copilot, has the perfect solution for you. Introducing the Debug with Copilot button in Test Explorer, this feature takes the hassle out of debugging failed tests and gets you closer to passing tests in no time. ...

GitHub CopilotDebugging
Nov 26, 2024
3

Debugger and Diagnostics updates in Visual Studio 17.12

Harshada Hole
Harshada Hole

We are thrilled to announce a host of exciting new features in Visual Studio 17.12, designed to enhance your development experience and boost your productivity. Our team has been working diligently to address some of the most popular requests from our developer community, and we are confident that these updates will significantly improve your workf...

Debugging and DiagnosticsGitHub Copilot
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
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
13

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