Results 1 to 3 of 3

Thread: debugging in ecliose

  1. #1
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default debugging in ecliose

    hi
    is it possible to execute every statement by statement(after every key pressed) in eclipse .

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: debugging in ecliose

    Yes, but you have to run your application in debug mode, which implies that Qt was also built in debug mode. Also, you need to have gdb installed. It comes in a separate package than MinGW.

    The main keys are: F5 - Step Into, F6 - Step Over, F7 - Step Out and F8 - Continue.

  3. The following user says thank you to marcel for this useful post:

    babu198649 (21st December 2007)

  4. #3
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Re: debugging in ecliose

    As a side note, I have fallen in love with C++ debugging in Eclipse. Instant access to everything without having to remember gdb commands is awesome! Plus, you can still interact directly with gdb in case there is something you want to do that is not provided by the gui :-D you can't beat it.
    Katrina Niolet

Similar Threads

  1. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  2. KDE 3.5.0 crash while opening project
    By MarkoSan in forum KDE Forum
    Replies: 2
    Last Post: 19th October 2007, 16:21
  3. Replies: 0
    Last Post: 21st September 2007, 11:08
  4. Debugging with gdb
    By SteM in forum Newbie
    Replies: 4
    Last Post: 9th August 2007, 14:40
  5. Debugging
    By Voldemort in forum Qt Programming
    Replies: 13
    Last Post: 14th May 2007, 20:38

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.