[Qt-creator] CMake and multiple executables - how to debug selectively?
Andrzej Telszewski
andrzej at telszewski.com
Wed Mar 26 10:20:42 CET 2025
Hi,
there's something strange happening.
It's now possible for me to run in debug mode in the way you described
_without_ setting the _current executable_ target.
(Though maybe something changed in the project configuration, because I
set _current executable_ for a brief moment.)
Thanks nonetheless - I'll come back should I have this issue again.
On 25/03/2025 20:32, Paweł Rutka wrote:
>
> Build configuration - on bottom choose build step and then select
> current executable. Now you can switch current exec in bottom left
> menu where you have build/run/debug icons.
>
> Run config will adapt itself if i remember correctly and now IT will
> run and debug only selected exec
>
> Paweł
>
>
> wt., 25 mar 2025, 15:30 użytkownik Andrzej Telszewski
> <andrzej at telszewski.com> napisał:
>
> Hello,
>
> my CMake projects defines multiple executables.
>
> I can run them _selectively_ by selecting one in the tree and then
> selecting "Run" from the context menu.
>
> However, I can't find a way how can I debug (i.e. run under debugger)
> such a executable.
> Is it even possible as of today?
>
> Thank you for your support!
>
> --
> Best regards,
> Andrzej Telszewski
>
> --
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20250326/3f405987/attachment.htm>
More information about the Qt-creator
mailing list