Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

(WIP) Delve v2 API debug adapter #1647

Merged
merged 22 commits into from
May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
93757e1
Initial port to v2 API
lggomez Mar 4, 2018
08bf3fe
Refactor default LoadConfig
lggomez Mar 5, 2018
97e4097
Migrate remaining calls
lggomez Mar 5, 2018
0801730
Merge branch 'master' of https://github.com/Microsoft/vscode-go into …
lggomez Apr 17, 2018
8af39a0
Fix CreateBreakpoint apicall
lggomez Apr 23, 2018
e386353
Fix breakpoint apicalls. Unwrap command apicalls
lggomez Apr 26, 2018
4fb5362
Add delve output on eval error (console)
lggomez Apr 26, 2018
0766407
Fix EvaluateRequest apicall
lggomez Apr 26, 2018
9a884b2
Fix SetBreakpoint, add LoadConfig interface
lggomez Apr 27, 2018
9488c66
Migrate Restart apicall
lggomez Apr 27, 2018
3ac0e23
Add delve LoadConfig in launch configuration
lggomez Apr 27, 2018
3439f35
Merge branch 'master' of https://github.com/Microsoft/vscode-go into …
lggomez May 6, 2018
37bd6ed
Update launch.json
lggomez May 6, 2018
c8137c2
Remove TODO comment
lggomez May 7, 2018
6dfbfec
Enable setting new breakpoints after a failed one
ramya-rao-a May 14, 2018
17cd579
Option to use v1 api of delve
ramya-rao-a May 15, 2018
f11ea6e
Collapse loadConfig to single configuration
ramya-rao-a May 15, 2018
fc88177
Fix linting errors
ramya-rao-a May 15, 2018
bcb89e4
Check remote debug server API version
lggomez May 15, 2018
cea6535
Use v1 by default
ramya-rao-a May 16, 2018
4c9a77d
Move loadConfig init before remote mode return
lggomez May 28, 2018
794249e
Merge branch 'master' of https://github.com/Microsoft/vscode-go into …
lggomez May 28, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 44 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,49 @@
"type": "string",
"description": "Output path for the binary of delve",
"default": "debug"
},
"dlvLoadConfig": {
"type": "object",
"properties": {
"followPointers": {
"type": "boolean",
"description": "FollowPointers requests pointers to be automatically dereferenced",
"default": true
},
"maxVariableRecurse": {
"type": "number",
"description": "MaxVariableRecurse is how far to recurse when evaluating nested types",
"default": 1
},
"maxStringLen": {
"type": "number",
"description": "MaxStringLen is the maximum number of bytes read from a string",
"default": 64
},
"maxArrayValues": {
"type": "number",
"description": "MaxArrayValues is the maximum number of elements read from an array, a slice or a map",
"default": 64
},
"maxStructFields": {
"type": "number",
"description": "MaxStructFields is the maximum number of fields read from a struct, -1 will read all fields",
"default": -1
}
},
"description": "LoadConfig describes to delve, how to load values from target's memory",
"default": {
"followPointers": true,
"maxVariableRecurse": 1,
"maxStringLen": 64,
"maxArrayValues": 64,
"maxStructFields": -1
}
},
"useApiV1": {
"type": "boolean",
"description": "If true, the v1 of delve apis will be used, else v2 will be used",
"default": true
}
}
}
Expand Down Expand Up @@ -1031,4 +1074,4 @@
]
}
}
}
}
Loading