IDebugShaderRequest2::BeginDebugShader method

Requests to start debugging the specified list of instructions.

Syntax

HRESULT BeginDebugShader(
   IPixErrorCallback * errorCallback,
   DWORD               instructionStreamSize,
   BYTE []             count1_instructionStream,
   DWORD *             pDevice
);

Parameters

errorCallback
The address of a callback for errors that might occur during debugging.

instructionStreamSize
The number of instructions in the instruction stream.

count1_instructionStream
The specified instruction stream.

pDevice
The address to pass to the debug engine for communicating with this debug session (debug engine readprocessmemory on this address).

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IDebugShaderRequest2