NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Viewing SimpleXML in Debug


Joined: 27 Mar 2012
Posts: 2
Reply with quote
Hi, I deal with some pretty big SimpleXML objects when debugging. They're too long for the hover-over popup windows.

Is there a nice way to see an entire XML object when debugging?
View user's profileFind all posts by MrsFeatherBottomSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
hmm, in this case I'd think of writing a pretty printer function that would convert/re-format XML and return it as an array of lines, then place
formattingfunctioname($yourXMLvariable)
into Eval/Modify (Ctrl+F7) window
Hope that's not extremely complex

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Viewing SimpleXML in Debug
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic