Skip to main content

[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 alain@xxxxxxx  2005-08-04 11:45 -------
(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.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Back to the top