Support the lldb debugger

The advantage of this one is that it has globals and statics in the
variables and runs directly in lldb. It can also show disassembly,
though we don't yet support that.

The disadvantage is that this is yet another plugin that plays fast and
loose with the protocol, so we have to add a bunch more gets.
This commit is contained in:
Ben Jackson 2018-05-29 01:48:37 +01:00
commit 20045b2941
4 changed files with 27 additions and 4 deletions

View file

@ -28,6 +28,17 @@
"node",
"/Users/ben/.vscode/extensions/rogalmic.bash-debug-0.2.0/out/bashDebug.js"
]
},
"lldb": {
"name": "lldb",
"command": [
"lldb",
"-b",
"-O",
"command script import '/Users/ben/.vscode/extensions/vadimcn.vscode-lldb-0.8.7/adapter'",
"-O",
"script adapter.main.run_stdio_session()"
]
}
},
"configurations": {
@ -97,6 +108,17 @@
"showDebugOutput": true,
"trace": true
}
},
"lldb launch": {
"adapter": "lldb",
"configuration": {
"type": "lldb",
"request": "launch",
"name": "LLDB: Launch",
"program": "/Users/ben/Development/vim/src/vim",
"args": [],
"cwd": "/Users/ben/Development/vim"
}
}
}
}