Results 1 to 2 of 2

Thread: Javascript debugging in qt webkit

  1. #1
    Join Date
    May 2016
    Posts
    12
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Javascript debugging in qt webkit

    Greeting

    I'm trying to debug java-script with qt web-kit but its not working.

    This is what i do. I right click on qt web-view and choose "Inspect", In inspector window, I go to "Scripts" tab, I choose "Only enable for this session / Always enable" then press "Enable Debugging" button. In java-script file, I place break point in function (by clicking on line number). I can see the line in "Breakpoints" group in right side of window as well. I perform a specific action which causes function's launch (in UI), But nothing happens, The break point not hit and function returns. I invoke function manually from the console by typing its name and arguments and still nothing happens. Function return without hitting break point.

    I Also enabled JavascriptEnabled.

    Im using QT 4.8 and Visual Studio 2008.

    Can any want tell me whats wrong here ?!

    Thanks in advanced

  2. #2
    Join Date
    May 2016
    Posts
    12
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Javascript debugging in qt webkit

    I post this question here, Seems its better place for it.

Similar Threads

  1. Webkit open new javascript Page
    By ShapeShiftme in forum Qt Programming
    Replies: 3
    Last Post: 25th October 2012, 09:46
  2. Webkit and Javascript Debugger
    By ideru in forum Installation and Deployment
    Replies: 1
    Last Post: 7th October 2011, 05:14
  3. Replies: 1
    Last Post: 30th April 2011, 00:50
  4. Debugging JavaScript from QWebView
    By thiagoalencar22 in forum Qt Programming
    Replies: 0
    Last Post: 30th October 2009, 12:12
  5. WebKit - accessing javascript results + googleMap
    By giusepped in forum Qt Programming
    Replies: 10
    Last Post: 30th May 2009, 01:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.