Results 1 to 6 of 6

Thread: Can't debug source file

  1. #1
    Join Date
    Oct 2007
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Can't debug source file

    Hello,
    i used the Qt Eclipse Integration –Plugin to build a very simple Qt-Debug-program.
    After i tried to debug the source file in the Eclipse IDE only a Disassembly view with many assembler commands, which were debugged, appeared.
    The main window showed me the message ‘source not available for “main()”’ and a button called ‘Disassmbly View’.
    I don’t know if the entries in the ‘Open Dialog Dialog’ are right, especially the debugger and source entries are a mystery for me.
    Please help me to debug my Qt-source files !

    Thanks
    oetzi

  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: Can't debug source file

    Are you sure you compiled your app in debug mode?

  3. #3
    Join Date
    Oct 2007
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Can't debug source file

    Quote Originally Posted by marcel View Post
    Are you sure you compiled your app in debug mode?
    Yes, no doubt, i compiled in debug mode.

    The Disassembly View shows me the many assembler instructions, where the debugger steps
    in the "main" module.
    I'm also able to set a breakpoint ( in the debug perspective) in my source file called "main.cpp", but i cannot step single c++ instructions with the debugger in the "main.cpp"-file.

    oetzi

  4. #4
    Join Date
    Oct 2007
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Can't debug source file

    There was as solution for that problem:
    After a complete reinstallation of eclipse 3.3 CDT and the Qt Eclipse integration Plugin i am able to debug also my source files.

    oetzi

  5. #5
    Join Date
    May 2007
    Location
    Hannover; Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Can't debug source file

    Hello,

    i have got the same problem. What ist the exact version of your eclipse (java or cpp) and which version of CDT are you using (3.x.x or 4.x.x). I tried a lot on more then one computer, but i am not able to get it work for debugging.

    Thx a lot

    Marc

  6. #6
    Join Date
    Dec 2007
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Can't debug source file

    i have got the same problem, too.

    Tools list I am using s windows2000
    mingw
    eclipse-cpp-europa-fall2-win32.zip
    qt-win-opensource-4.3.3-mingw.exe
    qt-eclipse-integration-win32-1.0.0.exe
    I have tred innumerable times.

    anybody help me???
    thanks lots!!!

Similar Threads

  1. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 19:41
  2. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  3. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 17:41
  4. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 18:10
  5. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 11: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.