{"id":645650,"date":"2025-10-07T14:22:21","date_gmt":"2025-10-07T13:22:21","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=clion&#038;p=645650"},"modified":"2025-10-07T14:30:34","modified_gmt":"2025-10-07T13:30:34","slug":"dap-debuggers","status":"publish","type":"clion","link":"https:\/\/blog.jetbrains.com\/zh-hans\/clion\/2025\/10\/dap-debuggers","title":{"rendered":"CLion Now Supports DAP Debuggers"},"content":{"rendered":"\n<p>The <a href=\"https:\/\/www.jetbrains.com\/clion\/nextversion\/\" target=\"_blank\" rel=\"noopener\">latest EAP build<\/a> of CLion 2025.3, released yesterday, includes support for the <a href=\"https:\/\/microsoft.github.io\/debug-adapter-protocol\/\" target=\"_blank\" rel=\"noopener\">Debug Adapter Protocol<\/a> (DAP), which allows CLion to communicate with a variety of additional debuggers. Besides the bundled LLDB and GDB, you can now work with third-party implementations that support DAP. This feature brings CLion closer to becoming an IDE that is not dependent on any specific debugger.<\/p>\n\n\n\n<p>Read on to learn how to configure your DAP debuggers and discover another important feature: support for the Visual Studio 2026 Insiders toolchain.<\/p>\n\n\n\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/clion\/nextversion\/\" target=\"_blank\" rel=\"noopener\" data-test=\"blog-article-cta\"><i class=\"download-icon\"><\/i>DOWNLOAD CLION 2025.3 EAP<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to configure a DAP debugger in CLion<\/h2>\n\n\n\n<p>Setting up your DAP debugger in CLion is straightforward, and it only takes five steps:<\/p>\n\n\n\n<ol>\n<li>Go to <em>Settings | Build, Execution, Deployment | Debugger<\/em> <em>| DAP Debuggers<\/em>.<\/li>\n\n\n\n<li>Specify the path to your DAP debugger executable in the relevant field.<\/li>\n\n\n\n<li>Configure the command-line arguments and launch parameters, and then click <em>OK<\/em>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1600\" height=\"843\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/10\/image.png\" alt=\"\" class=\"wp-image-645689\"\/><\/figure>\n\n\n\n<ol start=\"4\">\n<li>Now go to <em>Settings | Build, Execution, Deployment | Toolchains<\/em> and open your toolchain settings.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2629\" height=\"1379\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/10\/dap_settings_2.png\" alt=\"\" class=\"wp-image-645733\"\/><\/figure>\n\n\n\n<ol start=\"5\">\n<li>Select your DAP debugger from the <em>Debugger<\/em> drop-down list and click <em>OK<\/em>.<\/li>\n<\/ol>\n\n\n\n<p>That\u2019s it. Your DAP debugger is now configured and ready to run.<\/p>\n\n\n\n<p>You can read the <a href=\"https:\/\/www.jetbrains.com\/help\/clion\/debugging-code.html\" target=\"_blank\" rel=\"noopener\">documentation<\/a> to learn more about working with the CLion debugger.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Current limitations<\/h3>\n\n\n\n<p>We plan to address the following functional limitations later:<\/p>\n\n\n\n<ul>\n<li>CLion currently connects to DAP servers only via <code>stdin<\/code>\/<code>stdout<\/code>, not via a TCP port.<\/li>\n\n\n\n<li>The <a href=\"https:\/\/www.jetbrains.com\/help\/clion\/attach-to-process.html\" target=\"_blank\" rel=\"noopener\"><em>Attach to Process<\/em><\/a> feature does not yet work.<\/li>\n\n\n\n<li>DAP debuggers currently only work with local toolchains.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Support for the Visual Studio 2026 Insiders toolchain<\/h2>\n\n\n\n<p>CLion now also supports the Visual Studio 2026 Insiders toolchain for Windows. This early-access version of Visual Studio 2026 provides the new <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/c-language-updates-in-msvc-build-tools-v14-50\/\" target=\"_blank\" rel=\"noopener\">MSVC build tools v14.50<\/a>, including v19.50 of the C++ compiler. This compiler version supports new language features in C++23, including the <code>auto(x)<\/code> and <code>auto{x}<\/code> syntax that allows you to create a decayed prvalue or, to put it simply, to <em>copy<\/em> an object to a temporary (<a href=\"https:\/\/www.open-std.org\/jtc1\/sc22\/wg21\/docs\/papers\/2021\/p0849r8.html\" target=\"_blank\" rel=\"noopener\">P0849R8<\/a>). The compiler has also received several important bug fixes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Try the features and share your feedback<\/h2>\n\n\n\n<p>Your feedback is important in helping us refine new features, especially during the Early Access Program. We encourage you to try DAP debuggers and other features available in the <a href=\"https:\/\/www.jetbrains.com\/clion\/nextversion\/\" target=\"_blank\" rel=\"noopener\">latest EAP build<\/a>. If you have any suggestions or run into any problems, please share them by submitting a ticket to our <a href=\"https:\/\/youtrack.jetbrains.com\/issues\/CPP\/\" target=\"_blank\" rel=\"noopener\">issue tracker<\/a> or commenting below.<\/p>\n\n\n\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/clion\/nextversion\/\" target=\"_blank\" rel=\"noopener\" data-test=\"blog-article-cta\"><i class=\"download-icon\"><\/i>DOWNLOAD CLION 2025.3 EAP<\/a><\/p>\n","protected":false},"author":1508,"featured_media":647117,"comment_status":"closed","ping_status":"closed","template":"","categories":[826,89],"tags":[8935,264,600,3527],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/clion\/645650"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/clion"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/clion"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1508"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=645650"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/clion\/645650\/revisions"}],"predecessor-version":[{"id":647141,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/clion\/645650\/revisions\/647141"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/647117"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=645650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=645650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=645650"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=645650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}