Important: Please read the Qt Code of Conduct -

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;
    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 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