Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit bc79c8d

Browse files
committed
Drop broken debugger of SDE #22
1 parent 7f2b4e6 commit bc79c8d

18 files changed

+7
-3644
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Master
4+
5+
- Drop broken debugger of SDE #22
6+
7+
If you are curious about how to set debugging up, see [Debugging Swift in VS Code](https://www.vknabel.com/pages/Debugging-Swift-in-VS-Code/).
8+
39
## 2.8.3
410

511
- Fixed ignored Toolchain Path [vknabel/sourcekite#9](https://github.com/vknabel/sourcekite/issues/9)

package.json

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -201,28 +201,6 @@
201201
"language": "swift"
202202
}
203203
],
204-
"debuggers": [
205-
{
206-
"type": "swift-debug",
207-
"label": "Swift Debug (Deprecated)",
208-
"program": "./out/src/debug/debugs.js",
209-
"runtime": "node",
210-
"configurationAttributes": {
211-
"launch": {
212-
"required": [
213-
"program"
214-
],
215-
"properties": {
216-
"program": {
217-
"type": "string",
218-
"description": "Absolute path to the program being debugged",
219-
"default": "${workspaceRoot}/.build/debug/path-to-program-debugged"
220-
}
221-
}
222-
}
223-
}
224-
}
225-
],
226204
"taskDefinitions": [
227205
{
228206
"type": "swift",
@@ -232,12 +210,8 @@
232210
},
233211
"scripts": {
234212
"vscode:prepublish": "npm run build",
235-
"build": "npm run prepare-out && npm run peg1 && npm run peg2 && npm run copy-parser-dts && npm run compile",
213+
"build": "npm run compile",
236214
"compile": "tsc -p ./",
237-
"prepare-out": "mkdir -p out/src/debug/lldbmi",
238-
"peg1": "pegjs -o out/src/debug/lldbmi/mi_output_parser.js src/debug/lldbmi/mi_output_grammar.pegjs",
239-
"peg2": "pegjs -o out/src/debug/lldbmi/raw_command_output_parser.js src/debug/lldbmi/raw_command_output_parser.pegjs",
240-
"copy-parser-dts": "cp src/debug/lldbmi/mi_output_parser.d.ts out/src/debug/lldbmi/mi_output_parser.d.ts",
241215
"format": "prettier CHANGELOG.md README.md src/*.ts src/server/**/*.ts tsconfig.json --write",
242216
"test": "jest"
243217
},
@@ -250,7 +224,6 @@
250224
"@types/vscode": "1.30.0",
251225
"@types/xml-js": "^1.0.0",
252226
"jest": "^24.9.0",
253-
"pegjs": "^0.10.0",
254227
"prettier": "^1.18.2",
255228
"ts-jest": "^24.0.2",
256229
"typescript": "^3.6.2"
@@ -260,8 +233,6 @@
260233
"fs-promise": "^1.0.0",
261234
"glob": "^7.1.4",
262235
"js-yaml": "^3.13.1",
263-
"vscode-debugadapter": "^1.25.0",
264-
"vscode-debugprotocol": "^1.15.0",
265236
"vscode-languageclient": "^5.2.1",
266237
"vscode-languageserver": "^5.2.1",
267238
"xml-js": "^1.6.11"

src/SwiftConfigurationProvider.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/clientMain.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
TransportKind,
2323
Executable
2424
} from "vscode-languageclient";
25-
import { SwiftConfigurationProvider } from "./SwiftConfigurationProvider";
2625
import { absolutePath } from "./AbsolutePath";
2726

2827
let swiftBinPath: string | null = null;
@@ -129,13 +128,6 @@ export function activate(context: ExtensionContext) {
129128
return;
130129
}
131130
initConfig();
132-
//debug
133-
context.subscriptions.push(
134-
debug.registerDebugConfigurationProvider(
135-
"swift",
136-
new SwiftConfigurationProvider()
137-
)
138-
);
139131

140132
// Options to control the language client
141133
let clientOptions: LanguageClientOptions = {

0 commit comments

Comments
 (0)