[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);
    ui->dockWidget->setVisible(false);

    inspector = new QWebInspector(ui->dockWidget);
    inspector->setPage(ui->webView->page());@



  • If you are working with Qt 4.8 there's a bug tracked for that on qtwebkit
    https://bugs.webkit.org/show_bug.cgi?id=71271


Log in to reply
 

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