[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[Cdt-launch-inbox] [Bug 102043] Console Output Does Not Appear When Launching An Application
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=102043
------- Additional Comments From j_apter@xxxxxxxxxxx 2005-08-04 11:53 -------
(In reply to comment #6)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > For windows applications you should use "CygWin GDB Debugger". In this
case the
> > > console output goes instead of Eclipse console to the Windows console.
> >
> > I do use the Cygwin GDB Debugger. However, the issue that I describe here is
> > unrelated to the debugger (that I can tell anyways). This problem occurs when
> > simply launching (Run | Run... | C/C++ Local Application) an application.
>
>
> Agreed.
> THe problem is that we can not create a tty to make the stdio thinks
> it should use line buffer policy for printf() and other related functions.
> Since we launch the program and connects to it with a pipe(), the default
> policy is file buffer.
>
> At this point, I do not know how to solve this cleanly, we found solutions
> for other platform by creating a pseudo tty for the application when launched.
Actually, I believe the problem you are referring to is actually bug 27663 which
does not appear to be related to this bug.
This bug is caused by asynchronously launching the application and letting it
close (exit) before its output can be read. Whereas, bug 27663 appears to be
related to getting applications launched in Eclipse to think that they are in a
tty (not timing related).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.