Visual Studio debugger cannot step into QtWebkit.dll code



  • I'm trying to debug an issue I'm having with launching windows from Javascript in a web view. However, I cannot step into any QtWebkit.dll code from the Visual Studio debugger using Qt 4.8.5. E.g. a simple app:
    @
    #include <QApplication>
    #include <QWebView>

    int main(int argc, char** argv)
    {
    QApplication app(argc, argv);

    QWebView webView;
    webView.load(QUrl("http://google.com"));
    webView.show();
    
    return app.exec();
    

    }
    @

    I can step into QApplication's, QUrl's, and QString's constructors. I cannot, however, step into QWebview::load or any other QtWebkit.dll code. I've tried with both the pre-built binaries from qt-project.org as well as my own libraries built from source.

    Any suggestions?



  • Hi,
    You can't debug a compiled code. Use the source code


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.