Important: Please read the Qt Code of Conduct -

[SOLVED]qwebinspector debug js

  • hello im trying to debug a script by using inspector and placing a breakpoints but when the script runs nothing happens the script dosen't run and the breakpoints is not reached. also the inspector seems to get stuck any tab i select (elements resources etc) nothing happens the tab dosen't move from scripts.

    is there something im missing?

    @ui->webView->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);

    inspector = new QWebInspector(ui->dockWidget);

  • If you are working with Qt 4.8 there's a bug tracked for that on qtwebkit

Log in to reply