Results 1 to 4 of 4

Thread: Not able to start qt debugger in Ubuntu

  1. #1
    Join Date
    Mar 2010
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Not able to start qt debugger in Ubuntu

    Hi ,

    I have installed Qt in ubuntu (Linux). I am able to compile and run Qt application but when I start debugger it gives error. I have attached snapshot of error.

    Can anybody help me?

    Thanks in Advance.

    Regards,
    Bakul
    Attached Images Attached Images

  2. The following user says thank you to bakul2331 for this useful post:

    arunkumaraymuo1 (8th January 2013)

  3. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Not able to start qt debugger in Ubuntu

    Go to Projects->Run Settings and make sure you specified the binary you want to debug.
    I'm a rebel in the S.D.G.

  4. #3
    Join Date
    Mar 2010
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Not able to start qt debugger in Ubuntu

    Hi,

    Yes, I can see that binary which I want to debug is specified in Projects->Run Settings.
    But now I am getting some different error than previous one. ( "During startup program exited with code 127"). I don't know why error type changed.

  5. #4
    Join Date
    Jul 2010
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Not able to start qt debugger in Ubuntu

    Hi,

    I got the same problem, when I run the program it works fine but as soon as I try to debug it get ... program excited with code 127.

    I reinstalled the binary, this time using sudo eg. 'sudo ./qt-sdk-linux-x86-opensource-2010.02.bin' and then it worked correctly.

    I suspect one must use sudo to enable 'write access' for the installation to setup the proper shared object links.

  6. The following user says thank you to RdN for this useful post:

    arunkumaraymuo1 (8th January 2013)

Similar Threads

  1. Debugger helper
    By JohnToddSr in forum Qt Tools
    Replies: 33
    Last Post: 15th June 2010, 23:19
  2. QRegExp Debugger
    By ml81 in forum Qt-based Software
    Replies: 5
    Last Post: 27th October 2008, 13:23
  3. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  4. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21
  5. Usage of the Debugger!!
    By Kapil in forum Qt Programming
    Replies: 9
    Last Post: 20th April 2006, 04:48

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.