Skip to content

Commit 244b207

Browse files
authored
[lldb-dap] Add attach & corefile templates (#118894)
1 parent 1a89604 commit 244b207

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

lldb/tools/lldb-dap/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lldb/tools/lldb-dap/package.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lldb-dap",
33
"displayName": "LLDB DAP",
4-
"version": "0.2.7",
4+
"version": "0.2.8",
55
"publisher": "llvm-vs-code-extensions",
66
"homepage": "https://lldb.llvm.org",
77
"description": "LLDB debugging from VSCode",
@@ -141,7 +141,7 @@
141141
"debuggers": [
142142
{
143143
"type": "lldb-dap",
144-
"label": "Native LLDB Debugger",
144+
"label": "LLDB DAP Debugger",
145145
"program": "./bin/lldb-dap",
146146
"windows": {
147147
"program": "./bin/lldb-dap.exe"
@@ -508,6 +508,28 @@
508508
"env": [],
509509
"cwd": "^\"\\${workspaceRoot}\""
510510
}
511+
},
512+
{
513+
"label": "LLDB: Attach",
514+
"description": "",
515+
"body": {
516+
"type": "lldb-dap",
517+
"request": "attach",
518+
"name": "${2:Attach}",
519+
"program": "${1:<your program>}",
520+
"waitFor": true
521+
}
522+
},
523+
{
524+
"label": "LLDB: Load Coredump",
525+
"description": "",
526+
"body": {
527+
"type": "lldb-dap",
528+
"request": "attach",
529+
"name": "${2:Core}",
530+
"program": "${1:<your program>}",
531+
"coreFile": "${1:<your program>}.core"
532+
}
511533
}
512534
]
513535
}

0 commit comments

Comments
 (0)