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
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@
181
181
"StoppedEvent": {
182
182
"allOf": [ { "$ref": "#/definitions/Event" }, {
183
183
"type": "object",
184
-
"description": "The event indicates that the execution of the debuggee has stopped due to some condition.\nThis can be caused by a break point previously set, a stepping action has completed, by executing a debugger statement etc.",
184
+
"description": "The event indicates that the execution of the debuggee has stopped due to some condition.\nThis can be caused by a break point previously set, a stepping request has completed, by executing a debugger statement etc.",
185
185
"properties": {
186
186
"event": {
187
187
"type": "string",
@@ -1425,6 +1425,10 @@
1425
1425
"threadId": {
1426
1426
"type": "integer",
1427
1427
"description": "Execute 'next' for this thread."
1428
+
},
1429
+
"granularity": {
1430
+
"$ref": "#/definitions/SteppingGranularity",
1431
+
"description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed."
1428
1432
}
1429
1433
},
1430
1434
"required": [ "threadId" ]
@@ -1463,6 +1467,10 @@
1463
1467
"targetId": {
1464
1468
"type": "integer",
1465
1469
"description": "Optional id of the target to step into."
1470
+
},
1471
+
"granularity": {
1472
+
"$ref": "#/definitions/SteppingGranularity",
1473
+
"description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed."
1466
1474
}
1467
1475
},
1468
1476
"required": [ "threadId" ]
@@ -1497,6 +1505,10 @@
1497
1505
"threadId": {
1498
1506
"type": "integer",
1499
1507
"description": "Execute 'stepOut' for this thread."
1508
+
},
1509
+
"granularity": {
1510
+
"$ref": "#/definitions/SteppingGranularity",
1511
+
"description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed."
1500
1512
}
1501
1513
},
1502
1514
"required": [ "threadId" ]
@@ -1531,6 +1543,10 @@
1531
1543
"threadId": {
1532
1544
"type": "integer",
1533
1545
"description": "Execute 'stepBack' for this thread."
1546
+
},
1547
+
"granularity": {
1548
+
"$ref": "#/definitions/SteppingGranularity",
1549
+
"description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed."
1534
1550
}
1535
1551
},
1536
1552
"required": [ "threadId" ]
@@ -2840,6 +2856,10 @@
2840
2856
"supportsClipboardContext": {
2841
2857
"type": "boolean",
2842
2858
"description": "The debug adapter supports the 'clipboard' context value in the 'evaluate' request."
2859
+
},
2860
+
"supportsSteppingGranularity": {
2861
+
"type": "boolean",
2862
+
"description": "The debug adapter supports stepping granularities (argument 'granularity') for the stepping requests."
2843
2863
}
2844
2864
}
2845
2865
},
@@ -3397,6 +3417,17 @@
3397
3417
"required": [ "verified" ]
3398
3418
},
3399
3419
3420
+
"SteppingGranularity": {
3421
+
"type": "string",
3422
+
"description": "The granularity of one 'step' in the stepping requests 'next', 'stepIn', 'stepOut', and 'stepBack'.",
3423
+
"enum": [ "statement", "line", "instruction" ],
3424
+
"enumDescriptions": [
3425
+
"The step should allow the program to run until the current statement has finished executing.\nThe meaning of a statement is determined by the adapter and it may be considered equivalent to a line.\nFor example 'for(int i = 0; i < 10; i++) could be considered to have 3 statements 'int i = 0', 'i < 10', and 'i++'.",
3426
+
"The step should allow the program to run until the current source line has executed.",
3427
+
"The step should allow one instruction to execute (e.g. one x86 instruction)."
3428
+
]
3429
+
},
3430
+
3400
3431
"StepInTarget": {
3401
3432
"type": "object",
3402
3433
"description": "A StepInTarget can be used in the 'stepIn' request and determines into which single target the stepIn request should step.",
0 commit comments