Home > Common Problem > Microsoft brings Visual Studio's CMake 3.27 debugger to VS Code

Microsoft brings Visual Studio's CMake 3.27 debugger to VS Code

WBOY
Release: 2023-08-25 09:45:07
forward
969 people have browsed it

Microsoft recently announced that it is cooperating with Kitware to merge the CMake debugger in CMake 3.27 version. VS Code can now use the CMake debugger. Since the new CMake incorporates Microsoft's CMake debugger (CMake Debugger), the CMake debugger that was originally only available in Visual Studio can now also be used by VS Code users.

微软将Visual Studio的CMake 3.27调试器引入VS Code

The CMake debugger available for VS Code is currently provided in CMake 3.27 version. The debugger is also included in versions after Visual Studio 17.8. Currently, users only need to After installing the CMake extension in VS Code, you can use the CMake debugger to debug the CMakeLists.txt script.

Microsoft mentioned that because the debugger uses the Debug Adapter Protocol (DAP) open protocol, it is compatible with many development environments. By using the CMake debugger, developers can set breakpoints based on file names and line numbers in the CMakeLists.txt file, and users can also execute, skip, or exit breakpoints.

Developers can also view and debug related file names and codes through the call stack of the CMake debugger, and can also determine the errors and warnings that the debugger will automatically interrupt.

The above is the detailed content of Microsoft brings Visual Studio's CMake 3.27 debugger to VS Code. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template