Merge pull request #93 from puremourning/upgrade-cpptools

upgrade cpptools to 0.26.3
This commit is contained in:
mergify[bot] 2020-01-26 21:37:22 +00:00 committed by GitHub
commit 239b538bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 7 deletions

View file

@ -551,10 +551,32 @@ Current tested with the following debug adapters.
* C++: [vscode-cpptools](https://github.com/Microsoft/vscode-cpptools) * C++: [vscode-cpptools](https://github.com/Microsoft/vscode-cpptools)
---
***NOTE FOR macOS USERS***: Currently VSCode cpptools does *not* work on macOS ***NOTE FOR macOS USERS***: Currently VSCode cpptools does *not* work on macOS
(see this issue: https://github.com/microsoft/vscode-cpptools/issues/3829). out of the box.
Therefore it is highly recommended to use `lldb-vscode`, which comes with llvm. See [this issue]( https://github.com/microsoft/vscode-cpptools/issues/3829)
Here's how: for the full details.
To resolve it:
* Install [my build](https://github.com/puremourning/lldb-mi/releases) of
`lldb-mi`. Instructions
[here](https://github.com/microsoft/vscode-cpptools/issues/3829#issuecomment-578454043).
* Add the following to the `configuration` section of your `.vimspector.json`
(below):
```
{
"configurations": {
"<name>: Launch": {
"adapter": "vscode-cpptools",
"configuration": {
"miDebuggerPath": "/path/to/my/build/of/lldb-mi",
...
```
An alternative is to to use `lldb-vscode`, which comes with llvm. Here's how:
* Install llvm with HomeBrew: `brew install llvm` * Install llvm with HomeBrew: `brew install llvm`
* Create a file named * Create a file named
@ -586,8 +608,10 @@ Here's how:
} }
``` ```
---
Example `.vimspector.json` (works with both `vscode-cpptools` and `lldb-vscode`. Example `.vimspector.json` (works with both `vscode-cpptools` and `lldb-vscode`.
For `lldb-vscode` replace the name of the adapter with `lldb-vscode`): For `lldb-vscode` replace the name of the adapter with `lldb-vscode`:
``` ```
{ {

View file

@ -56,17 +56,17 @@ GADGETS = {
}, },
'do': lambda name, root: InstallCppTools( name, root ), 'do': lambda name, root: InstallCppTools( name, root ),
'all': { 'all': {
'version': '0.26.2', 'version': '0.26.3',
}, },
'linux': { 'linux': {
'file_name': 'cpptools-linux.vsix', 'file_name': 'cpptools-linux.vsix',
'checksum': 'checksum':
'767aed01f0c0b5eb9e9eff96aba47b576d153d2b2d9fc28e306722ea45a02ff5' 'd660367fbedd6acaffcc233c1d41ef280ff79aeba81846b86bf9bd97b4887379'
}, },
'macos': { 'macos': {
'file_name': 'cpptools-osx.vsix', 'file_name': 'cpptools-osx.vsix',
'checksum': 'checksum':
'6fd52562e1e53287c0e9b94813709c6fab487c16ff3054eda6233d6c0241eb0e', 'ca0793dd1dfd70757491da80cf04b2b15631048b572de2ebe3864f9eed96dff9',
}, },
'windows': { 'windows': {
'file_name': 'cpptools-win32.vsix', 'file_name': 'cpptools-win32.vsix',