Open lp35 opened 4 years ago
@lp35 There might be a bug with the above config: When starting to debug the compound, there would be only the terminal of the compound shown. There should be two since two programs are running.
VS Code version: Code 1.46.0 (a5d1cc28bb5da32ec67e86cc50f84c67cc690321, 2020-06-10T09:03:20.462Z) OS version: Windows_NT x64 10.0.18363 Remote OS version: Linux x64 4.15.0-1050-oem
Yes it is a bug as the behaviour is random. Are you just reporting or are you able to do something about it?
Cheers
This issue is now marked as 'stale-old' due to there being no activity on it for the past 720 days. Unless the 'stale-old' label is removed or the issue is commented on, this will be remain open for at least 14 days and then it may be closed. If you would like to make this issue exempt from getting stale, please add the 'stale-exempt' label.
Hello everyone!
Brief Issue Summary
I want to cover compound system in vscode feature here.
To point to a binary generated by cmake, one can use
as stated in the documentation.
However when debugging multiple binaries at the same time (e.g: client/server system), it is not possible to use cmake.launchTargetPath anymore because we need to select 2 targets to compile.
This is my current launch.json, with 2 cmake targets (respectively named client and server):
The problem is when the configuration is changed (for example, go for release) and the binaries names change, we have to go in launch.json and modify the paths to the binaries by hand each time.
Suggestion:
A nice addition to this plugin would be to have a special variable allowing to point to the binary of a given target, e.g:
and
so compound can be used very easily.
Other Notes/Information
Thank you so much for this wonderful plugin, it is really a daily pleasure to use it!