Capturing debug output

Top  Previous  Next

All data exchanged between the telnet client and server may be captured by enabling debugging. To enable/disable debugging set the Debug property to true. By default debugging is disabled. When debugging is enabled all debugging output is directed to standard output. You may redirect this output to another stream using the DebugStream property

 

Example

 

[C#]

// enable debugging

session.Debug = true;

 

// redirect debugging to file

session.DebugStream = new FileStream("c:/log.txt", FileMode.OpenOrCreate);

 

 

[Visual Basic]

' enable debugging

session.Debug = True

 

' redirect debugging to file

session.DebugStream = New FileStream("c:/log.txt", FileMode.OpenOrCreate)

 

 

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC