vscode: Debugging using Touchbar broken as of VSCode 1.58
Does this issue occur when all extensions are disabled?: No, since features of the extension itself are broken.
- VS Code Version: 1.58 / 1.59
- OS Version: macOS Big Sur
Steps to Reproduce:
- Install the C/C++ Extension from Microsoft or CodeLLDB by Vadim Chugunov
- Configure a launch configuration similar to this
{
"name": "Name",
"preLaunchTask": "Build App",
"type": "cppdbg",
"MIMode": "lldb",
"request": "launch",
"expressions": "native",
"cwd": "${workspaceFolder}",
"program": "path/to/executable"
}
- Try to debug
Observed behavior
- VSCode’s status bar does not turn orange and breakpoints do not hit. The console works though. Since both of the extensions mentioned stopped working in VSCode 1.58 I assume that the issue is in VSCode rather than in the extensions.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 24 (9 by maintainers)
It turns out the error was on my side. I pressed the launch button instead of the launch and debug button. Thanks anyway.
This is a separate issue from #8084 (which is the issue you @mikebeaton experience), right?
After doing more testing I could narrow down the problem to the debugging session being started using the Touchbar buttons on a MacBook Pro. When started using a different way (Cmd + F5 or clicking the buttons in the debug toolbar using the mouse cursor), it works.