(ddd.info)Using the Execution Window
6.2 Using the Execution Window
By default, input and output of your program go to the debugger console.
As an alternative, DDD can also invoke an "execution window", where the
program terminal input and output is shown.(1)
To activate the execution window, select `Program => Run in
Using the execution window has an important side effect: The output
of your program no longer gets intermixed with the output of the
inferior debugger. This makes it far easier for DDD to parse the
debugger output correctly. Note: Debugger Communication, for details
on the `bufferGDBOutput' resource.
The execution window is opened automatically as soon as you start the
debugged program. While the execution window is active, DDD redirects
the standard input, output, and error streams of your program to the
execution window. Note that the device `/dev/tty' still refers to the
debugger console, _not_ the execution window.
You can override the DDD stream redirection by giving alternate
redirection operations as arguments. For instance, to have your program
read from FILE, but to write to the execution window, invoke your
program with `< FILE' as argument. Likewise, to redirect the standard
error output to the debugger console, use `2> /dev/tty' (assuming the
inferior debugger and/or your UNIX shell support standard error
- Customizing the Execution Window
---------- Footnotes ----------
(1) The execution window is not available in JDB.
automatically generated by info2www version 188.8.131.52