Compare commits

...

7 commits

Author SHA1 Message Date
Joey Yakimowich-Payne
7c12519b9d Modify for mac m1 2021-09-10 10:30:44 -06:00
mergify[bot]
2bb8561eb6
Merge pull request #452 from seezer/readme-gdb-prettyprinter
Readme: pretty printing with vscode-cpptools / gdb
2021-09-09 16:19:52 +00:00
mergify[bot]
a868102b5e
Merge branch 'master' into readme-gdb-prettyprinter 2021-09-09 16:05:28 +00:00
Sebastian Goth
dc862fe565 Readme: pretty printing with vscode-cpptools / gdb 2021-09-09 16:59:01 +02:00
Ben Jackson
b4bcfca932
Merge pull request #450 from puremourning/gha-ubuntu-18.04
Update to ubuntu 18.04 as 16.04 is deprecated
2021-09-08 22:49:22 +01:00
Ben Jackson
3df0602a69
Merge branch 'master' into gha-ubuntu-18.04 2021-09-08 22:30:49 +01:00
Ben Jackson
db5ed8e802 Update to ubuntu 18.04 as 16.04 is deprecated 2021-09-08 22:20:33 +01:00
3 changed files with 45 additions and 12 deletions

View file

@ -13,7 +13,7 @@ defaults:
jobs:
PythonLint:
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
container: 'puremourning/vimspector:test'
steps:
- uses: actions/checkout@v2
@ -22,7 +22,7 @@ jobs:
- name: 'Run flake8'
run: '$HOME/.local/bin/flake8 python3/ *.py'
VimscriptLint:
runs-on: 'ubuntu-16.04'
runs-on: 'ubuntu-18.04'
container: 'puremourning/vimspector:test'
steps:
- uses: actions/checkout@v2
@ -32,7 +32,7 @@ jobs:
run: $HOME/.local/bin/vint autoload/ compiler/ plugin/ tests/ syntax/
Linux:
runs-on: 'ubuntu-16.04'
runs-on: 'ubuntu-18.04'
container:
image: 'puremourning/vimspector:test'
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
@ -156,7 +156,7 @@ jobs:
# SSH_PASS: ${{ secrets.SSH_PASS }} # [V]imspector
PublishRelease:
runs-on: 'ubuntu-16.04'
runs-on: 'ubuntu-18.04'
needs:
- Linux
- MacOS

View file

@ -61,9 +61,10 @@ For detailed explanation of the `.vimspector.json` format, see the
* [Closing debugger](#closing-debugger)
* [Terminate debuggee](#terminate-debuggee)
* [Debug profile configuration](#debug-profile-configuration)
* [C, C , Rust, etc.](#c-c-rust-etc)
* [C Remote debugging](#c-remote-debugging)
* [C Remote launch and attach](#c-remote-launch-and-attach)
* [C, C++, Rust, etc.](#c-c-rust-etc)
* [Data visualization / pretty printing](#data-visualization--pretty-printing)
* [C++ Remote debugging](#c-remote-debugging)
* [C++ Remote launch and attach](#c-remote-launch-and-attach)
* [Rust](#rust)
* [Python](#python)
* [Python Remote Debugging](#python-remote-debugging)
@ -1176,6 +1177,38 @@ licensing.
}
```
### Data visualization / pretty printing
Depending on the backend you need to enable pretty printing of complex types manually.
* LLDB: Pretty printing is enabled by default
* GDB: To enable gdb pretty printers, consider the snippet below.
It is not enough to have `set print pretty on` in your .gdbinit!
```
{
"configurations": {
"Launch": {
"adapter": "vscode-cpptools",
"configuration": {
"request": "launch",
"program": "<path to binary>",
...
"MIMode": "gdb"
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
}
}
}
}
```
### C++ Remote debugging
The cpptools documentation describes how to attach cpptools to gdbserver using

View file

@ -56,9 +56,9 @@ GADGETS = {
'c25299bcfb46b22d41aa3f125df7184e6282a35ff9fb69c47def744cb4778f55',
},
'macos': {
'file_name': 'cpptools-osx.vsix',
'file_name': 'cpptools-osx-arm64.vsix',
'checksum':
'ae21cde361335b350402904991cf9f746fec685449ca9bd5d50227c3dec3719b',
'ceb3e8cdaa2b5bb45af50913ddd8402089969748af8d70f5d46480408287ba6f',
},
'windows': {
'file_name': 'cpptools-win32.vsix',
@ -394,12 +394,12 @@ GADGETS = {
'${version}/${file_name}',
},
'all': {
'version': 'v1.6.5',
'version': 'v1.6.6',
},
'macos': {
'file_name': 'codelldb-x86_64-darwin.vsix',
'file_name': 'codelldb-aarch64-darwin.vsix',
'checksum':
'e7d9f4f8ec3c3774af6d1dbf11f0568db1417c4d51038927228cd07028725594',
'5adc3b9139eabdafd825bd5efc55df4424a203fb2b6087b425cd434956e7ec58',
'make_executable': [
'adapter/codelldb',
'lldb/bin/debugserver',