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

debugging complex comands does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 2.2.0
    • Debugger
    • None

    Description

      definition: a "complex command" is a command line which cannot be executed without an actual shell (or replicating half of it), i.e., contains redirections/pipes, complex substitutions, command groups/lists, etc.

      under unix, debugging complex commands in a terminal doesn't work. this would be fixable by making the stub smart enough to stop in the real child instead of the shell - do what gdb does here (stop only after the child forks a grandchild).

      under windows, debugging complex commands doesn't work at all, as mingw gdb does not support execution through a shell (the cygwin one does, though that would be the wrong shell for us), and cdb doesn't, either. the strategy would be similar to unix, though in the stub-less mode lots of state fiddling would be necessary in creator itself (maybe always use the stub, and have it create a console only when necessary).

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              buddenha Oswald Buddenhagen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes