Debug console not displaying program output [message #190174] |
Thu, 26 April 2007 17:33  |
Eclipse User |
|
|
|
Originally posted by: exceed.nc.rr.com
Hi all,
When I'm trying to debug in CDT the console isn't displaying the output.
For example if I write a simple hello world program or something,
nothing will print to the console output in the debugger. I already have
all my paths set up and whatnot so I can step through code. But if I am
for example stepping through code that requires a keyboard input, the
prompt does not appear in the console and so therefore I can't go
anywhere from there :)
Any ideas on this? Thanks..
- Brandon
|
|
|
|
|
|
Re: Debug console not displaying program output [message #203028 is a reply to message #190181] |
Thu, 18 October 2007 02:56  |
Eclipse User |
|
|
|
Originally posted by: Roland.Minde.ac-b.de
Hello,
now I have suddenly exactly the same problem.
My workaround (which solves not the problem):
use Compiler Option -Wl,-subsystem,console
and the output goes to a popup window (not the console window in eclipse).
I am running:
Windows XP
Eclipse 3.3.0
CDT 4.0.0
MinGW 5 1.3 with gdb 6.6
Best Regards
Roland
"Brandon Squizzato" <exceed@nc.rr.com> schrieb im Newsbeitrag
news:f0r635$353$2@build.eclipse.org...
> Brandon Squizzato wrote:
>> Hi all,
>>
>> When I'm trying to debug in CDT the console isn't displaying the output.
>> For example if I write a simple hello world program or something, nothing
>> will print to the console output in the debugger. I already have all my
>> paths set up and whatnot so I can step through code. But if I am for
>> example stepping through code that requires a keyboard input, the prompt
>> does not appear in the console and so therefore I can't go anywhere from
>> there :)
>>
>> Any ideas on this? Thanks..
>>
>> - Brandon
>
> Sorry I forgot to give my version info. I'm running:
>
> Eclipse 3.2.2
> CDT 3.1.2
> Cygwin gdb 6.5.50 and gcc 3.4.4
|
|
|
Powered by
FUDForum. Page generated in 0.06422 seconds