Turn on socket protocol debugging output.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function DebuggingOn() As Boolean |
C# |
---|
public bool DebuggingOn() |
C++ |
---|
public: bool DebuggingOn() sealed |
J# |
---|
public bool DebuggingOn() |
JScript |
---|
public function DebuggingOn() : bool |
Return Value
the previous debugging state.
Remarks
Turn on very verbose socket protocol debugging output. This should only be used on the advice of ibi support.
Example
This sample shows how to turn on debugging on the client side.
![]() | |
---|---|
using NetricsServerInterface; class MyClass { private static NetricsServerInterface.NetricsServerInterface si = null; public static void Main() { try { String host = "localhost"; int port = 5051; si = new NetricsServerInterface.NetricsServerInterface(host, port); si.DebuggingOn(); Console.Write("Client debugging turned on. Warning: This will generate verbose output and impact performance.\n"); } catch (NetricsException e) { Console.Write(e.getErrorDescription() + "\n"); } } } |