[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
there is a long standing problem with xpwe and before digging too deep
into the source I would like to ask if someone else knows a solution for
When running a programme under the debugger the output of everything
written to stderr (by the user's programme) is lost.
Since I recommend to my students a sequence of
cerr << "Please input X ";
cin >> X;
which has advantages when stdout is redirected,
they don't see the input request.
The problem is, that in we_debug.c (line 1721) gdb is started
with file decriptor 2 redirected to npipe.
Now the parent task would have to reflect anything read on npipe
to the xterm stdout, but currently it discards it.
Thanks for any hints,
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany