Results 1 to 5 of 5

Thread: QT crashes at breakpoints?

  1. #1
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QT crashes at breakpoints?

    Qt creator crashes while debugging. If break points are set. If I press F 10, Gdb crashes unexpectedly. Is there any way to solve this?

  2. #2
    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: QT crashes at breakpoints?

    So Qt Creator crashes or gdb crashes?
    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.


  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT crashes at breakpoints?

    gdb crashes. And the application closes, not the Qtcreator

  4. #4
    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: QT crashes at breakpoints?

    So is it the application that crashes or gdb? Is there any message you are getting? Does the crash occur when you set the breakpoint or when you step through the code? Does it happen with any program you're debugging or just one?
    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.


  5. #5
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT crashes at breakpoints?

    It is crashing the gdb and not the creator. It is happening just for that particular application. Also, it crashes once breakpoint is set and it stops at the breakpoint and after new seconds. It says " Gdb process exited unexpectedly(crashed)". Under Views -> Debugger I am getting,dATTEMPT BREAKPOINT SYNC
    >&"bb options:fancy vars: expanded: typeformats: formats: watchers:\n"
    dState changed from InferiorStopped(13) to InferiorRunningRequested(8).
    sStep next requested...
    <736-exec-next
    dHANDLE GDB ERROR
    dGDB PROCESS FINISHED, status 1, code -1073741819
    sThe gdb process exited unexpectedly (crashed).
    dPLAIN ADAPTER SHUTDOWN 8
    dState changed from InferiorRunningRequested(8) to DebuggerNotReady(0).

Similar Threads

  1. Breakpoints skipped in debugging
    By tzarhaxaar in forum Qt Programming
    Replies: 0
    Last Post: 23rd December 2012, 18:14
  2. QtCreator skips breakpoints
    By The 11th plague of Egypt in forum Qt Tools
    Replies: 6
    Last Post: 13th September 2011, 14:35
  3. qt creator - breakpoints don't work
    By pmitas in forum Newbie
    Replies: 16
    Last Post: 8th September 2010, 10:53
  4. Breakpoints set at a slot will not stop?
    By MorrisLiang in forum Newbie
    Replies: 7
    Last Post: 19th May 2010, 16:18
  5. Qt Creator doesn't stop at breakpoints
    By TheSaw in forum Qt Tools
    Replies: 3
    Last Post: 12th May 2009, 15:53

Tags for this Thread

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.