Skip to content

give example test explorer debug configurations hidden presentation #4397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

malsyned
Copy link
Contributor

@malsyned malsyned commented Apr 8, 2025

This changes documentation

The following changes are proposed:

add "presentation": { "hidden": true } to launch.json sample snippets that make use of ${cmake.testProgram}.

The purpose of this change

${cmake.testProgram} is only valid in debug launch configurations when they are run from the Test Explorer. Configurations that use it always fail with "'${cmake.testProgram}' does not exist" when run from the Run and Debug sidebar. Hiding them removes a source of errors.

`${cmake.testProgram}` is only valid in debug launch configurations when
they are run from the Test Explorer. Configurations that use it always
fail with "'${cmake.testProgram}' does not exist" when run from the Run
and Debug sidebar. Recommend hiding them to remove a source of errors.
@malsyned malsyned force-pushed the debug-launch-ctest-hidden branch from 95f5fb6 to 7444487 Compare April 8, 2025 21:50
@gcampbell-msft gcampbell-msft enabled auto-merge (squash) April 11, 2025 16:06
@gcampbell-msft gcampbell-msft merged commit ef0bef8 into microsoft:main Apr 11, 2025
4 checks passed
@malsyned malsyned deleted the debug-launch-ctest-hidden branch April 15, 2025 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants