You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: debugProtocol.json
+98Lines changed: 98 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1785,6 +1785,65 @@
1785
1785
}]
1786
1786
},
1787
1787
1788
+
"ExceptionInfoRequest": {
1789
+
"allOf": [ { "$ref": "#/definitions/Request" }, {
1790
+
"type": "object",
1791
+
"description": "ExceptionInfoRequest request; value of command field is 'exceptionInfo'.\nRetrieves the details of the exception that caused the StoppedEvent to be raised.",
1792
+
"properties": {
1793
+
"command": {
1794
+
"type": "string",
1795
+
"enum": [ "completions" ]
1796
+
},
1797
+
"arguments": {
1798
+
"$ref": "#/definitions/CompletionsArguments"
1799
+
}
1800
+
},
1801
+
"required": [ "command", "arguments" ]
1802
+
}]
1803
+
},
1804
+
"ExceptionInfoArguments": {
1805
+
"type": "object",
1806
+
"description": "Arguments for 'exceptionInfo' request.",
1807
+
"properties": {
1808
+
"threadId": {
1809
+
"type": "integer",
1810
+
"description": "Thread for which exception information should be retrieved."
Copy file name to clipboardExpand all lines: protocol/README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ This npm module contains declarations for the json-based Visual Studio Code debu
9
9
10
10
* 1.17.x:
11
11
* Adds optional attribute `clientID` to the `InitializeRequestArguments`.
12
+
* Adds support for obtaining exception details: `ExceptionInfoRequest`, `ExceptionDetails`.
12
13
13
14
* 1.16.x:
14
15
* Updated comments for `path` and `sourceReference` attributes of `Source` type (the frontend no longer needs to have a notion of 'internal' modules; it just loads the content of a Source either through the sourceReference or the path).
/** A Module object represents a row in the modules view.
981
1011
Two attributes are mandatory: an id identifies a module in the modules view and is used in a ModuleEvent for identifying a module for adding, updating or deleting.
982
1012
The name is used to minimally render the module in the UI.
983
-
1013
+
984
1014
Additional attributes can be added to the module. They will show up in the module View if they have a corresponding ColumnDescriptor.
985
-
1015
+
986
1016
To avoid an unnecessary proliferation of additional attributes with similar semantics but different names
987
1017
we recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.
always try to use these first before introducing additional attributes.
996
-
1026
+
997
1027
Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module.
0 commit comments