Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExecutionUtilities::DebugTarget Method (IResultSink^, Guid, DebugTargetInfo^, TimeSpan)

 

Requests a debug operation for a test.

Namespace:   Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

public:
static DebugOperationResult^ DebugTarget(
	IResultSink^ sink,
	Guid runId,
	DebugTargetInfo^ targetInfo,
	TimeSpan timeout
)

Parameters

sink
Type: Microsoft.VisualStudio.TestTools.Execution::IResultSink^

The IResultSink to which you send the debug request.

runId
Type: System::Guid

The GUID identifier for the test run.

targetInfo
Type: Microsoft.VisualStudio.TestTools.Common::DebugTargetInfo^

A DebugTargetInfo object that contains information about the debug operation.

timeout
Type: System::TimeSpan

The TimeSpan to wait for the debugger to perform the debug operation.

Return Value

Type: Microsoft.VisualStudio.TestTools.Common::DebugOperationResult^

A DebugOperationResult object that contains the result of the debug operation.

Return to top
Show: