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

Commit

Permalink
Drop broken debugger of SDE #22
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Feb 24, 2020
1 parent 7f2b4e6 commit bc79c8d
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 3,644 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Master

- Drop broken debugger of SDE #22

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/).

## 2.8.3

- Fixed ignored Toolchain Path [vknabel/sourcekite#9](https://github.com/vknabel/sourcekite/issues/9)
Expand Down
31 changes: 1 addition & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,28 +201,6 @@
"language": "swift"
}
],
"debuggers": [
{
"type": "swift-debug",
"label": "Swift Debug (Deprecated)",
"program": "./out/src/debug/debugs.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to the program being debugged",
"default": "${workspaceRoot}/.build/debug/path-to-program-debugged"
}
}
}
}
}
],
"taskDefinitions": [
{
"type": "swift",
Expand All @@ -232,12 +210,8 @@
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "npm run prepare-out && npm run peg1 && npm run peg2 && npm run copy-parser-dts && npm run compile",
"build": "npm run compile",
"compile": "tsc -p ./",
"prepare-out": "mkdir -p out/src/debug/lldbmi",
"peg1": "pegjs -o out/src/debug/lldbmi/mi_output_parser.js src/debug/lldbmi/mi_output_grammar.pegjs",
"peg2": "pegjs -o out/src/debug/lldbmi/raw_command_output_parser.js src/debug/lldbmi/raw_command_output_parser.pegjs",
"copy-parser-dts": "cp src/debug/lldbmi/mi_output_parser.d.ts out/src/debug/lldbmi/mi_output_parser.d.ts",
"format": "prettier CHANGELOG.md README.md src/*.ts src/server/**/*.ts tsconfig.json --write",
"test": "jest"
},
Expand All @@ -250,7 +224,6 @@
"@types/vscode": "1.30.0",
"@types/xml-js": "^1.0.0",
"jest": "^24.9.0",
"pegjs": "^0.10.0",
"prettier": "^1.18.2",
"ts-jest": "^24.0.2",
"typescript": "^3.6.2"
Expand All @@ -260,8 +233,6 @@
"fs-promise": "^1.0.0",
"glob": "^7.1.4",
"js-yaml": "^3.13.1",
"vscode-debugadapter": "^1.25.0",
"vscode-debugprotocol": "^1.15.0",
"vscode-languageclient": "^5.2.1",
"vscode-languageserver": "^5.2.1",
"xml-js": "^1.6.11"
Expand Down
18 changes: 0 additions & 18 deletions src/SwiftConfigurationProvider.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/clientMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
TransportKind,
Executable
} from "vscode-languageclient";
import { SwiftConfigurationProvider } from "./SwiftConfigurationProvider";
import { absolutePath } from "./AbsolutePath";

let swiftBinPath: string | null = null;
Expand Down Expand Up @@ -129,13 +128,6 @@ export function activate(context: ExtensionContext) {
return;
}
initConfig();
//debug
context.subscriptions.push(
debug.registerDebugConfigurationProvider(
"swift",
new SwiftConfigurationProvider()
)
);

// Options to control the language client
let clientOptions: LanguageClientOptions = {
Expand Down
Loading

0 comments on commit bc79c8d

Please sign in to comment.