Results 1 to 6 of 6

Thread: Can't debug with eclipse

  1. #1
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Can't debug with eclipse

    Hi! I installed Qt integration in Eclipse and I'm using it successfully. The only problem is that I can't debug. If I try to debug I get:

    Qt Code:
    1. [New thread 7276.0x2c00]
    2. gdb: unknown target exception 0xc0000135 at 0x770d9eed
    3. You can't do that without a process to debug.
    To copy to clipboard, switch view to plain text mode 

    Any idea what could be wrong? Running the application not in debug mode works perfectly.
    Thanks for any advice!

  2. #2
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Can't debug with eclipse

    Am I the only one experiencing this problem?
    I tried using the debugger with a C++ project which doesn't use Qt and the debugger seems to work correctly. It has to be something related to Qt, but I really can't find it...

  3. #3
    Join Date
    Dec 2010
    Location
    Ukraine, Kharkiv
    Posts
    17
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Can't debug with eclipse

    Problem: I can't see value of, for example, QString variable as string(for example "Hello, World!").
    I want: to see value of, for example, QString variable in debug mode. I want to see "Hello, World!" in it and not memory address or smth else.
    How achive what I want?

  4. #4
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't debug with eclipse

    By using an IDE that provides this feature.

  5. #5
    Join Date
    Dec 2010
    Location
    Ukraine, Kharkiv
    Posts
    17
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Can't debug with eclipse

    Quote Originally Posted by ktk View Post
    By using an IDE that provides this feature.
    I want Eclipse. How to do this in Eclipse?

  6. #6
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't debug with eclipse

    Eclipse does not have that feature. Other IDEs have that. Using Qt Creator would be the obvious choice in the context, but KDevelop, VS with the Qt Add-In and probably others do it, too.

Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 06:27
  2. Replies: 7
    Last Post: 22nd December 2010, 08:13
  3. Qt 4.3.4 Windows Eclipse DEBUG
    By starcontrol in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd May 2008, 14:54
  4. debug error eclipse+qt mingw
    By sakthi in forum Qt Programming
    Replies: 0
    Last Post: 19th January 2008, 04:44
  5. Debug problem in Eclipse with qrc file
    By Vortex in forum General Programming
    Replies: 6
    Last Post: 27th December 2007, 00:56

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.