IDebugClient::StartServer method

The StartServer method starts a debugging server.

Syntax

HRESULT StartServer(
  PCSTR Options
);

Parameters

Options

Specifies the connections options for this server. These are the same options given to the .server debugger command or the WinDbg and CDB -server command-line option. For details on the syntax of this string, see Activating a Debugging Server.

Return Value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

Remarks

The server that is started will be accessible by other debuggers through the transport specified in the Options parameter.

For more information about debugging servers, see Debugging Server and Debugging Client.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

DebugConnect

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

OutputServers

StartProcessServer