debugging multiple cmake executables

BlackSmith01 0 Reputation points
2023-10-25T14:27:46.4466667+00:00

I have a cmake project that contains 3 executables.

I want to start and debug all the executables simultaneously using a remote Linux machine.

Is this possible?

I know there is a guid for cmake project, but i need a way for multiple executables.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
967 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    2023-10-26T07:01:34.2+00:00

    Hello @BlackSmith01 ,

    Welcome to Microsoft Q&A forum.

    Is the feature mentioned in this ticket: CMake Project Multi-target Debugging you want? If so, I’m afraid it’s not possible currently, it is still under review. You can follow up that ticket and wait for the latest information.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.