From b63fbae482f888f8be45c01b1dd0e8951d5d5116 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 29 Dec 2019 18:02:13 +0100 Subject: Drop all the debugging tasks There are too many of them, and they no longer match the set of crates we have. This really should be handled in a different way, by having out "rust-analyzer: Run" generate the appropriate lldb config on the fly. --- .vscode/launch.json | 309 ---------------------------------------------------- 1 file changed, 309 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0cf3984a9..1a8de4854 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,314 +27,5 @@ "pid": "${command:pickMyProcess}", "sourceLanguages": ["rust"] }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'gen_lsp_server'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=gen_lsp_server"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_analysis'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_analysis"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug test 'tests'", - "cargo": { - "args": ["build", "--test=tests", "--package=ra_analysis"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in test 'tests'", - "cargo": { - "args": ["test", "--no-run", "--test=tests", "--package=ra_analysis"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_hir'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_hir"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_db'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_db"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_editor'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_editor"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_syntax'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_syntax"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug test 'test'", - "cargo": { - "args": ["build", "--test=test", "--package=ra_syntax"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in test 'test'", - "cargo": { - "args": ["test", "--no-run", "--test=test", "--package=ra_syntax"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'test_utils'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=test_utils"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug executable 'ra_cli'", - "cargo": { - "args": ["build", "--bin=ra_cli", "--package=ra_cli"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in executable 'ra_cli'", - "cargo": { - "args": ["test", "--no-run", "--bin=ra_cli", "--package=ra_cli"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'tools'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=tools"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug executable 'tools'", - "cargo": { - "args": ["build", "--bin=tools", "--package=tools"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in executable 'tools'", - "cargo": { - "args": ["test", "--no-run", "--bin=tools", "--package=tools"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug test 'cli'", - "cargo": { - "args": ["build", "--test=cli", "--package=tools"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in test 'cli'", - "cargo": { - "args": ["test", "--no-run", "--test=cli", "--package=tools"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'ra_lsp_server'", - "cargo": { - "args": ["test", "--no-run", "--lib", "--package=ra_lsp_server"], - "filter": { - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug executable 'ra_lsp_server'", - "cargo": { - "args": ["build", "--bin=ra_lsp_server", "--package=ra_lsp_server"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in executable 'ra_lsp_server'", - "cargo": { - "args": [ - "test", - "--no-run", - "--bin=ra_lsp_server", - "--package=ra_lsp_server" - ], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug test 'heavy_tests'", - "cargo": { - "args": ["build", "--test=heavy_tests", "--package=ra_lsp_server"], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in test 'heavy_tests'", - "cargo": { - "args": [ - "test", - "--no-run", - "--test=heavy_tests", - "--package=ra_lsp_server" - ], - "filter": { - "kind": "bin" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - } ] } -- cgit v1.2.3