Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. [SOLVED]qwebinspector debug js
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]qwebinspector debug js

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Olorin5800
    wrote on last edited by
    #1

    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());@


    My programs never have bugs, they just develop random features.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      ManuelL
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved