Skip to content
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

Variable ${command:cmake.launchTargetPath} as a launch target command causes an exception. #1036

Closed
sialiuk opened this issue Jan 31, 2020 · 1 comment
Assignees
Labels
bug a bug in the product Feature: configure
Milestone

Comments

@sialiuk
Copy link

sialiuk commented Jan 31, 2020

"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
},
]
With this configuration after debugger launching (F5 button) next exception is thrown:

Unhandled exception: Unhandled Promise rejection: launchTargetPath TypeError: Cannot read property 'fsPath' of undefined {}

  • Operating System: Windows
  • CMake Version: 3.16.*
  • VSCode Version: 1.41.1
  • CMake Tools Extension Version: 1.3.0-beta
  • Compiler/Toolchain: Visual C++ 2017
@sialiuk sialiuk changed the title Variable ${command:cmake.launchTargetPath} as a lunch target command causes an exception. Variable ${command:cmake.launchTargetPath} as a launch target command causes an exception. Jan 31, 2020
@bobbrow bobbrow added this to the 1.3.0 milestone Feb 3, 2020
@bobbrow bobbrow added bug a bug in the product Feature: configure labels Feb 12, 2020
@bobbrow
Copy link
Member

bobbrow commented Feb 12, 2020

This was fixed in 1.3.0

@bobbrow bobbrow closed this as completed Feb 12, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug a bug in the product Feature: configure
Projects
None yet
Development

No branches or pull requests

3 participants