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

GDB startup clobbers "Additional Startup Commands" set for GDB in the debugger configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.4.1
    • Qt Creator 3.2.0, Qt Creator 4.2.0
    • QNX Support
    • None
    • Host: MacOS, Qt Creator 3.2.0 and Qt 5.3.1
      Target: QNX 6.6.0 running on armle-v7.

    Description

      I want to set a custom solib-search-path for GDB when debugging a QNX device. My application loads libraries from all-over, and I run the debugger dozens, if not hundreds of times per day. It's really tedious to have to go to the GDB console every time the debugger launches and paste in my giant solib-search-path… And if I forget to do it, half my breakpoints won't get hit and the debug session is a bust…

      I've set the solib-search-path in "Preferences|Debugger|GDB|Additional Startup Commands" but the solib-search-path I put there gets clobbered by the one sent by Qt Creator during GDB initialization.

      In Qt Creator 3.0.1 if I put the solib-search-path command in "Preferences|Debugger|GDB|Debugging Helper Customization" it would work - those commands were run after Qt Creator's command that set the solib-search-path. But in subsequent releases of Qt Creator this workaround no longer works.

      My request would be that commands entered in the GDB "Additional Startup Commands" be concatenated to the existing commands, but I would be happy if the "Additional Startup Commands" override the Qt Creator commands.

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              slegault@qnx.com Stephanie Legault
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes