Share via


DkmClrRuntimeInstance.GetActiveStatements Method

Definition

Overloads

GetActiveStatements(DkmActiveStatement[])

Provides the stack of all active statements across all threads. So if the same function is on a call stack multiple times, it will be duplicated in this array. Entries in the stack are grouped by thread.

Location constraint: Can be called from client to server side.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

GetActiveStatements(DkmWorkList, DkmCompletionRoutine<DkmGetActiveStatementsAsyncResult>)

Provides the stack of all active statements across all threads. So if the same function is on a call stack multiple times, it will be duplicated in this array. Entries in the stack are grouped by thread.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: Can be called from client to server side.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

GetActiveStatements(DkmActiveStatement[])

Provides the stack of all active statements across all threads. So if the same function is on a call stack multiple times, it will be duplicated in this array. Entries in the stack are grouped by thread.

Location constraint: Can be called from client to server side.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

public:
 void GetActiveStatements([Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmActiveStatement ^> ^ % ActiveStatements);
public void GetActiveStatements (out Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatement[] ActiveStatements);
member this.GetActiveStatements : DkmActiveStatement[] -> unit
Public Sub GetActiveStatements (ByRef ActiveStatements As DkmActiveStatement())

Parameters

ActiveStatements
DkmActiveStatement[]

[Out] Information about the statements that are currently on the stack of any thread.

Applies to

GetActiveStatements(DkmWorkList, DkmCompletionRoutine<DkmGetActiveStatementsAsyncResult>)

Provides the stack of all active statements across all threads. So if the same function is on a call stack multiple times, it will be duplicated in this array. Entries in the stack are grouped by thread.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: Can be called from client to server side.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

public:
 void GetActiveStatements(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Clr::DkmGetActiveStatementsAsyncResult> ^ CompletionRoutine);
public void GetActiveStatements (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetActiveStatementsAsyncResult> CompletionRoutine);
member this.GetActiveStatements : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetActiveStatementsAsyncResult> -> unit
Public Sub GetActiveStatements (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmGetActiveStatementsAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

CompletionRoutine
DkmCompletionRoutine<DkmGetActiveStatementsAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to