Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 2.2.0
-
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
- resulted from
-
QTCREATORBUG-542 Argument splitting incorrect
- Closed