Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
Alex #1
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: How can I post my Debug XML
When you subscribe to the OnReadXml and OnWriteXml handlers you can trace the debug Xml.

Write this data to the Debug Console, your logger or a file and post it with your thread when required.
You can also attach files to your posts.

  1. XmppCon.OnReadXml           += new XmlHandler(XmppCon_OnReadXml);
  2. XmppCon.OnWriteXml          += new XmlHandler(XmppCon_OnWriteXml);
  3.            
  4. private void XmppCon_OnReadXml(object sender, string xml)
  5. {  
  6.     rtfDebug.AppendText("Recv: " + xml);   
  7. }
  8.  
  9. private void XmppCon_OnWriteXml(object sender, string xml)
  10. {
  11.     rtfDebug.AppendText("Send: " + xml);   
  12. }
This post was edited on 2013-07-18, 22:43 by Alex.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS