Skip to content

Commit

Permalink
Update documentation around /stacks and parameterTypes (#7504)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoseph authored Oct 15, 2024
1 parent 1d8f8c7 commit 930127d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion documentation/api/definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ First Available: 8.0 Preview 7
|---|---|---|
| `methodName` | string | Name of the method for this frame. This includes generic parameters. |
| `methodToken` | int | TypeDef token for the method. |
| `parameterTypes` | string[] | Array of parameter types. Empty array if none. |
| `parameterTypes` | string[] | Array of parameter types. Empty array if none. Field does not exist when this information is not available. |
| `typeName` | string | Name of the class for this frame. This includes generic parameters. |
| `moduleName` | string | Name of the module for this frame. |
| `moduleVersionId` | guid | Unique identifier used to distinguish between two versions of the same module. An empty value: `00000000-0000-0000-0000-000000000000`. |
Expand Down
10 changes: 3 additions & 7 deletions documentation/api/stacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Allowed schemes:

## Responses

> [!NOTE]
> Parameter type information is not available through this feature. The `parameterTypes` field of [CallStackFrame](definitions.md#callstackframe) is omitted.
| Name | Type | Description | Content Type |
|---|---|---|---|
| 200 OK | [CallStackResult](definitions.md#callstackresult) | Callstacks for all managed threads in the process. | `application/json` |
Expand Down Expand Up @@ -79,27 +82,20 @@ Location: localhost:52323/operations/67f07e40-5cca-4709-9062-26302c484f18
{
"methodName": "GetQueuedCompletionStatus",
"methodToken": 100663634,
"parameterTypes": [],
"typeName": "Interop\u002BKernel32",
"moduleName": "System.Private.CoreLib.dll",
"moduleVersionId": "194ddabd-a802-4520-90ef-854e2f1cd606"
},
{
"methodName": "WaitForSignal",
"methodToken": 100663639,
"parameterTypes": [
"System.Threading.ExecutionContext",
"System.Threading.ContextCallback",
"System.Object"
],
"typeName": "System.Threading.LowLevelLifoSemaphore",
"moduleName": "System.Private.CoreLib.dll",
"moduleVersionId": "194ddabd-a802-4520-90ef-854e2f1cd606"
},
{
"methodName": "Wait",
"methodToken": 100663643,
"parameterTypes": [],
"typeName": "System.Threading.LowLevelLifoSemaphore",
"moduleName": "System.Private.CoreLib.dll",
"moduleVersionId": "194ddabd-a802-4520-90ef-854e2f1cd606"
Expand Down

0 comments on commit 930127d

Please sign in to comment.