Results 1 to 11 of 11

Thread: Strange bug in the debugger!?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Posts
    51
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    11
    Thanked 1 Time in 1 Post

    Default Re: Strange bug in the debugger!?

    I did try the test you suggested, and I got the cout print that you added. The debugger continued to the test on line 3 (now in your example) and then jumped directly to line 8 which says "a is now equal to b". It did that, iteration after iteration, but when I looked at what had actually been printed, it had not written "a is now equal to b" even once (from what I can remember).

    Now I can't compile the program because I get some strange error saying ":-1: error: [ui_mainwindow.h] Error 258" and "File not found" which I don't know what it means (I didn't know that I had such a file), so I can't currently do any more debugging. Thank you for the help I have got in this post, though.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 284 Times in 279 Posts

    Default Re: Strange bug in the debugger!?

    ui_*.h are files generated by UI compiler from *.ui files. You have in project file mainwindow.ui but it is not compiled. It seems that your project is corrupted.

Similar Threads

  1. cdb as debugger
    By pkj in forum Newbie
    Replies: 3
    Last Post: 27th January 2012, 13:59
  2. Qt Creator Debugger failure
    By Carlton in forum Qt Tools
    Replies: 3
    Last Post: 23rd November 2010, 20:58
  3. Debugger helper
    By JohnToddSr in forum Qt Tools
    Replies: 33
    Last Post: 15th June 2010, 23:19
  4. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  5. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21

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
  •  
Qt is a trademark of The Qt Company.