Debug QDomElement in Visual Studio Express 2012
Bart_Vandewoestyne last edited by
I am looking for an easy way to watch the value of a QDomElement in Visual Studio Express 2012. Currently, to see the contents of a QDomElement variable called 'message', I add the following text to my code:
QString str; message.save(QTextStream(&str), 2);
If I then watch or hoover over the str variable, i can see the contents of the QDomElement. However, this is cumbersome, as it requires me to add these two lines wherever I want to see the contents of QDomElements. Is there another way to do this in Visual Studio Express 2012, without the need to add extra code like I do now?