[Qt-interest] Debugging JavaScript in QWebView

Thiago Alencar thiago777 at gmail.com
Fri Nov 6 02:23:04 CET 2009


Hello all,

What's the recommended way of debugging JavaScript code executed within the
page loaded from QWebView? I'm aware that something like this could be done:

QVariant result;
result = this->page()->mainFrame()->evaluateJavaScript( "js function.." );

But what about the JavaScript code which runs e.g. after
"load(QUrl("page.html"));" , triggered by user interaction?

thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091105/3a7883b5/attachment.html 


More information about the Qt-interest-old mailing list