IDebugClient::StartServer method (dbgeng.h)

The StartServer method starts a debugging server.

Syntax

HRESULT StartServer(
  [in] PCSTR Options
);

Parameters

[in] 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

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

See also

DebugConnect

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

OutputServers

StartProcessServer