Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Juno/CDT8 - stdout not appearing in the console

I removed the fragments jars on the 8_1 and master branches (like on 8_0) and the list of processes appears again.


On 9/19/2012 12:22 PM, Marc-Andre Laperle wrote:
Interesting, the dlls are being loaded (ProcessExplorer) but the executables are not being found. I think this has to do with the fact that the fragment still contains a jar. The jars were removed from the 8_0 branch but not from 8_1 and master. I'll try that tonight.


On 19/09/2012 9:39 AM, Branko Drevenšek wrote:

Both Indigo 3.7 SR2 and Juno use same mingw build of gdb 7.3.1, on same 64 bit Vista machine.

Both get same reply for "-list-thread-groups --available" in gdb traces console:
error,msg="Can not fetch data now."

However Indigo 3.7 SR2 still manages to show a list of processes, while on Juno you only get a text-box.


On 09/19/2012 03:19 PM, Marc Khouzam wrote:
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Branko Drevenšek
Sent: Wednesday, September 19, 2012 3:14 AM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] Juno/CDT8 - stdout not appearing in the console


I can verify that with "Attach to application" launch on Juno (first
release and SR1 RC3) on 64 bit Vista I only get text box,
while 3.7sr2 on same machine shows a list of processes.
We normally fetch the list of processes from GDB.  However,
older GDB's didn't support that (before GDB 7.0), and I'm not actually
sure a newer GDB running on Windows supports it either.
Look for a proper answer to "-list-thread-groups --available" in
the 'gdb traces' console to know if it is supported.

If GDB does not provide the list, we fall-back to
figuring it out ourselves.  For Windows this is done in
org.eclipse.cdt.internal.core.win32.ProcessList.  There
is a really old comment at the top saying that it works on Windows XP.
It may be that this code needs to be updated for Vista or Windows 7.

If that code does not work, then we simply ask for a pid without
providing a list.

However I have notices no problems with console. Created
default "ansi
hello world" sample project and output appears in console.


On 09/19/2012 04:30 AM, Marc-Andre Laperle wrote:

This could be a sign that the Windows fragment is not
working. Are you
able to "Attach to application" in Debug Configurations? Do
you get a
list of processes to select from when you hit Debug or just a text
field? It does seems broken when I try it on my PC but I'd like a
confirmation from someone else.


On 9/18/2012 8:54 AM, Derek Morris wrote:
I have downloaded latest version of Eclipse CDT for
Windows. I have
mingw installed on the computer.

I write and build a simple C "Hello World" application (i.e.
printf("Hello World\n")).

When I run this application, the text does not appear in
any console
(I have checked the console for the executable, gdb and
gdb traces).
Is there something I am missing here?

This all worked in Indigo.

cdt-dev mailing list
cdt-dev mailing list
cdt-dev mailing list

cdt-dev mailing list

cdt-dev mailing list

Back to the top