Skip to content

Commit d8e55ec

Browse files
authored
Added features: (#2)
- Closure view (skeleton) - string-conversions convenience - ServerConfig logging now respected by Server.hs - Event sequence numbers ignored (from vscode-mock-debug) - Modified path names - Pretty printing functions for Atoms and Local arguments - Added C sources (added isCSource) - Fixed bug related to Step command (use 'sendAndWait') - Added additional case for SR_ThreadFinishedMain
1 parent 403bd80 commit d8e55ec

File tree

7 files changed

+259
-172
lines changed

7 files changed

+259
-172
lines changed

dap-extension/package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,20 @@
99
"categories": [
1010
"Debuggers"
1111
],
12-
"activationEvents": [ "onDebug", "onDebugResolve:dap-extension" ],
12+
"activationEvents": [ "onDebug", "onDebugResolve:dap-extension", "onDebug:closures" ],
1313
"main": "./out/extension.js",
1414
"contributes": {
15+
"views": {
16+
"debug": [
17+
{ "id": "closures"
18+
, "name": "closures"
19+
, "visibility": "visible"
20+
, "initialSize": 30
21+
, "contextualTitle": "Closures for ${workspaceFolder}"
22+
, "type": "tree"
23+
}
24+
]
25+
},
1526
"debuggers": [
1627
{
1728
"type": "dap-extension",

dap-extension/src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { ProviderResult } from 'vscode';
1313
// Your extension is activated the very first time the command is executed
1414
export function activate(context: vscode.ExtensionContext) {
1515

16+
// vscode.debug.onDidReceiveDebugSessionCustomEvent
1617
// Use the console to output diagnostic information (console.log) and errors (console.error)
1718
// This line of code will only be executed once when your extension is activated
1819
console.log('Congratulations, your extension "external-stg-debugger" is now active!');

dap/dap.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ executable dap
3535
, network
3636
, unagi-chan
3737
, unordered-containers
38+
, string-conversions
3839
, aeson
3940
, text
4041
, time

0 commit comments

Comments
 (0)