Results 1 to 1 of 1

Thread: Debug complex application (phantomjs) with Qt Creator

  1. #1
    Join Date
    Jan 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Debug complex application (phantomjs) with Qt Creator

    Hello,

    I'm trying to debug PhantomJS 2 (it's an application based on QT 5.3 and WebKit: http://phantomjs.org/, https://github.com/ariya/phantomjs/) with Qt Creator. I set breakpoints in necessary lines and trying to navigate between them by using F10 and F11 keys. Sometimes when I enter to the core class/method I see only disassembled hex version of this class. For example I have this problem with QNetworkAccessManager::get inspite of the fact that I have sources of this file (https://github.com/ariya/phantomjs/b...nager.cpp#L698).

    How can I set up debugger to use source files in such case rather than binary?


    Added after 19 minutes:


    Hm... looks like qt core isn't added to the .pro-file and I need to add it and rebuild project.
    Last edited by romka; 1st March 2015 at 16:47.

Similar Threads

  1. QCommandLineParser to complex application
    By atomic in forum Qt Programming
    Replies: 10
    Last Post: 29th August 2014, 13:26
  2. Replies: 1
    Last Post: 3rd May 2014, 00:09
  3. non-stop debug in qt creator
    By cszawisza in forum Newbie
    Replies: 3
    Last Post: 28th December 2013, 13:48
  4. Replies: 2
    Last Post: 6th April 2013, 01:34
  5. Qt Creator Can't debug the program with OpenCV in Qt Creator
    By nimingzhe2008 in forum Qt Tools
    Replies: 6
    Last Post: 15th June 2012, 16:04

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.