Home DEVELOPER New diagnostics and debugging features in Visual Studio 2022 12/17

New diagnostics and debugging features in Visual Studio 2022 12/17

0


The new version 2022 17.12.1 of Microsoft’s Visual Studio development environment offers many improved analysis and debugging functions. Many are involved with Copilot AI to simplify the everyday lives of developers

Advertisement


According to Microsoft, one of the most requested functions is the inline display of values ​​that a function uses in code. return will be returned. This display is now implemented and is grayed out directly below the corresponding display return-Expression. When you move the mouse up, additional information and a co-pilot icon appear. After clicking on it, AI analyzes the printout in the side window and provides information about possible errors.



Visual Studio shows an inline gray preview of the values ​​that a function returns.

(Image: Microsoft)

CoPilot now also supports analyzing variable values ​​in auto and local debugger windows. In addition to the preview of the variable value, an AI icon also appears here for further error analysis.

Artificial Intelligence Goodbye languages: Teams already has a date for the arrival of real-time translation in their video calls

An AI assistant for the IEnumerable visualizer tool has just been announced. It now offers IntelliSense with syntax highlighting for LINQ queries. Another innovation of the debugger is the import and export of breakpoint groups, including their configuration for consistent breakpoint management in different parts of a project.

The Diagnostics tool now supports snapshots to compare memory states. For comparison, the developers may have taken two snapshots in the Memory tab. The tool then shows the differences by clicking “View Diff”. The Diagnostic window now visualizes histogram data.


Visual Studio Memroy Diff

Snapshots can be used to compare memory usage.

(Image: Microsoft)

Debugging features that Microsoft Explained in detail in a blog postare just Part of innovations from 2022 December 17The version comes with .NET 9 and offers more AI integration than before, especially in the aforementioned debugging and fixing code. The UI allows you to launch different configurations of the program depending on the project. Users can also copy files between different instances of the program.

Other new features: Developers work with multiple GitHub accounts and create local repositories with Visual Studio. Copilot commit messages can be further specified individually. It is now possible to publish WebJobs to Azure under Linux. HTTP files contain request variables with responses that are used in further requests. Finally, command line arguments in C++ can now be set directly in the toolbar.

Provide a complete overview Release Notes,

read this also


(Who)

Kotlin 2.10 programming language expands connections to iOS and WebAssembly

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version