c – 如何在CLion中同时运行多个调试器?

我正在CLion运行一个大项目,里面有10个小项目.每个小项目都有一个主要功能.这些小项目应按顺序运行,例如a-> b-> c-> d-> …以确保大型项目正常运行.

目前,当我尝试调试这个大型项目时,我必须按顺序手动启动每个小项目的调试会话,这很烦人.

我的问题是,有没有什么方便的方法可以通过一次点击自动启动这些小项目的调试过程?

解决方法

在运行/调试配置中使用“启动前”以添加相关项目.

来自CLion web help

Before Launch

Specify which tasks must be performed before applying the run/debug configuration. The specified tasks are performed in the order they appear in the list.

Run Another Configuration. Select this option to have another run/debug configuration executed. In the dialog that opens,select the configuration to run. This option is available only if you have already at least one run/debug configuration in the current project.

相关文章

一.C语言中的static关键字 在C语言中,static可以用来修饰局...
浅谈C/C++中的指针和数组(二) 前面已经讨论了指针...
浅谈C/C++中的指针和数组(一)指针是C/C++...
从两个例子分析C语言的声明 在读《C专家编程》一书的第三章时...
C语言文件操作解析(一)在讨论C语言文件操作之前,先了解一下...
C语言文件操作解析(三) 在前面已经讨论了文件打开操作,下面...