Results 1 to 4 of 4

Thread: Stop at exceptions

  1. #1
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Stop at exceptions

    Hi guys.
    How to focus on the line that exception occurs? For both Mingw(GDB) and msvc(CDB)? because with mingw(GDB) debugger, i've tried so much but the debuger goes dip into libs rather than stops at my code lines

  2. #2
    Join Date
    Dec 2012
    Posts
    90
    Thanks
    5
    Thanked 20 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stop at exceptions

    I haven't tried it, but there's this link http://www.delorie.com/gnu/docs/gdb/gdb_31.html, hope that helps.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Stop at exceptions

    Look at the backtrace and scroll it up to the point where it shows your code and here you are.

    BTW. How is this question related to "Qt Programming"?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Stop at exceptions

    Thanks for reply And sorry for that

Similar Threads

  1. gcc exceptions
    By ctarsoaga in forum General Programming
    Replies: 1
    Last Post: 4th May 2010, 07:37
  2. gcc exceptions
    By ctarsoaga in forum Qt Programming
    Replies: 0
    Last Post: 12th April 2010, 20:58
  3. Using exceptions with Qt
    By vu64 in forum Qt Programming
    Replies: 1
    Last Post: 17th May 2009, 03:28
  4. sql Exceptions
    By peace_comp in forum Qt Programming
    Replies: 2
    Last Post: 10th October 2008, 02:51
  5. QT and exceptions
    By krivenok in forum Qt Programming
    Replies: 4
    Last Post: 25th January 2006, 14:05

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.