Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17254

gdb does not stop at break point

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.1.0
    • Debugger
    • None
    • GNU gdb (Debian 7.11.1-2) 7.11.1, qt-creator 4.1.0 (debian) or qt-creator 4.0.3 (from qt-creator download homepage) or qt-creator 4.2.0-beta1 (from qt-creator download homepage)

    Description

      I'm working on a medium size C++ project. If I set a breakpoint and start the debugger the debugger does not stop at the breakpoint but just runs through the code. But if I start gdb in a shell load the executable, set a breakpoint and start the executable in gdb then gdb stops at the breakpoint and I can do the usual gdb things like "next", "print" and so on.
      Strangely, if I compile a "hello world" program, I can debug this in qtcreator with breakpoint, next etc.
      Enclose please find the debugger log and the debugger commands
      for the case where qtcreator/gdb does not stop at a breakpoint.
      Any idea?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            ralfv Ralf Denzer
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes