From ae46fc26dc14b6c13efb8db2b781c2dd5295a49f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Dec 2024 16:02:47 +0000 Subject: [PATCH] Integrate from LLVM at llvm/llvm-project@33f4f3972531badc1cece78d3ed5eaf969ff4709 --- package-lock.json | 4 ++-- package.json | 26 ++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8663659..d1cb6d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lldb-dap", - "version": "0.2.6", + "version": "0.2.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lldb-dap", - "version": "0.2.6", + "version": "0.2.8", "license": "Apache 2.0 License with LLVM exceptions", "devDependencies": { "@types/node": "^18.11.18", diff --git a/package.json b/package.json index 6079edb..bbe65e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lldb-dap", "displayName": "LLDB DAP", - "version": "0.2.7", + "version": "0.2.8", "publisher": "llvm-vs-code-extensions", "homepage": "https://lldb.llvm.org", "description": "LLDB debugging from VSCode", @@ -141,7 +141,7 @@ "debuggers": [ { "type": "lldb-dap", - "label": "Native LLDB Debugger", + "label": "LLDB DAP Debugger", "program": "./bin/lldb-dap", "windows": { "program": "./bin/lldb-dap.exe" @@ -508,6 +508,28 @@ "env": [], "cwd": "^\"\\${workspaceRoot}\"" } + }, + { + "label": "LLDB: Attach", + "description": "", + "body": { + "type": "lldb-dap", + "request": "attach", + "name": "${2:Attach}", + "program": "${1:}", + "waitFor": true + } + }, + { + "label": "LLDB: Load Coredump", + "description": "", + "body": { + "type": "lldb-dap", + "request": "attach", + "name": "${2:Core}", + "program": "${1:}", + "coreFile": "${1:}.core" + } } ] }