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 vliqi@xxxxxxx  2005-09-15 10:40 -------
(In reply to comment #9)
> After poking around in the code for a little while, I decided to rename my
> spawner.dll file to spawner.old.  Doing this causes
> org.eclipse.cdt.utils.spawner.ProcessFactory to use java.lang.Runtime.exec()
> instead of org.eclipse.cdt.utils.spawner.Spawner().exec().  This does not
> exhibit the behavior mentioned in comment 0.  Of course, this workaround is at
> the loss of the additional functionality that the Spawner class provides (namely
> the interrupt(), hangup(), kill(), terminate(), and isRunning() functions).  I
> have a feeling the problem lies somewhere in the Reaper inner class for those
> curious...
I rename the spawn.dll,I can debug C++ well with it,but I have some Problem when  
I write C code.the code is:
#include<stdio.h>

int main()
{
	int i;
	printf("Input an Integer\n");
	scanf("%d",&i);
	printf("the Number You Enter Is:%d\n",i);
	return 0;
}
when I run it,It does not output any thing.After I input 123,
it appears as follow:
123
Input an Integer
the Number You Enter Is:123 



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


Back to the top