Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Variables don't appear while debugging
Variables don't appear while debugging [message #106031] Sun, 13 June 2004 14:33 Go to next message
Eclipse UserFriend
Originally posted by: sgray.wooster.edu

I am using Eclipse Platform 2.1.3 Mac OS X Carbon on a Mac G4 running OS X
10.3.4. I
have used CDT 1.2.0 Linux GTK and CDT 1.2.0 Linux Motif with the same
results.

I am able to create, compile and run projects using the C/C++ development
perspective.
I can also use the debugging perspective to step through a program, see
the stack etc.
This includes proper highlighting of the line to execute. However I cannot
get any
variables to appear in the variables window. Any ideas why this might be
or, better, how
to fix it?

I understand that Mac OS is not listed as one of the supported OSes for
CDT, however it
seems odd that everything else seems to display properly using the Linux
distributions.


- Simon
Re: Variables don't appear while debugging [message #106536 is a reply to message #106031] Wed, 16 June 2004 21:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ramanand_mandayam.yahoo.com

Simon,

I ran into a similar problem and one of the ways I made it go away
(or rather do the right thing but in a different window) was by activating
the "Window->New Window" menu. This launched another window with the
properly refreshed views but then I was left with two windows both trying
to present a debug perspective....

Hope this helps somewhat.

Cheers

Ramanand

Simon Gray wrote:

> I am using Eclipse Platform 2.1.3 Mac OS X Carbon on a Mac G4 running OS X
> 10.3.4. I
> have used CDT 1.2.0 Linux GTK and CDT 1.2.0 Linux Motif with the same
> results.

> I am able to create, compile and run projects using the C/C++ development
> perspective.
> I can also use the debugging perspective to step through a program, see
> the stack etc.
> This includes proper highlighting of the line to execute. However I cannot
> get any
> variables to appear in the variables window. Any ideas why this might be
> or, better, how
> to fix it?

> I understand that Mac OS is not listed as one of the supported OSes for
> CDT, however it
> seems odd that everything else seems to display properly using the Linux
> distributions.


> - Simon
Re: Variables don't appear while debugging [message #106622 is a reply to message #106536] Thu, 17 June 2004 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgray.wooster.edu

Hmm...you did this on a Mac under OS X? Which version of Eclipse and CDT
are you using?

I tried launching the debugger, then opening a new window. No difference.
:-(

Thanks for trying.

- Simon

Ramanand wrote:

> Simon,

> I ran into a similar problem and one of the ways I made it go away
> (or rather do the right thing but in a different window) was by activating
> the "Window->New Window" menu. This launched another window with the
> properly refreshed views but then I was left with two windows both trying
> to present a debug perspective....

> Hope this helps somewhat.

> Cheers

> Ramanand

> Simon Gray wrote:

> > I am using Eclipse Platform 2.1.3 Mac OS X Carbon on a Mac G4 running OS X
> > 10.3.4. I
> > have used CDT 1.2.0 Linux GTK and CDT 1.2.0 Linux Motif with the same
> > results.

> > I am able to create, compile and run projects using the C/C++ development
> > perspective.
> > I can also use the debugging perspective to step through a program, see
> > the stack etc.
> > This includes proper highlighting of the line to execute. However I cannot
> > get any
> > variables to appear in the variables window. Any ideas why this might be
> > or, better, how
> > to fix it?

> > I understand that Mac OS is not listed as one of the supported OSes for
> > CDT, however it
> > seems odd that everything else seems to display properly using the Linux
> > distributions.


> > - Simon
Re: Variables don't appear while debugging [message #106689 is a reply to message #106622] Thu, 17 June 2004 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ramanand_mandayam.yahoo.com

Simon,

Sorry I did not qualify my answer completely. I was using Windows XP
professional so my solution may be a bit of a stretch...

Cheers

Ramanand

Simon Gray wrote:

> Hmm...you did this on a Mac under OS X? Which version of Eclipse and CDT
> are you using?

> I tried launching the debugger, then opening a new window. No difference.
> :-(

> Thanks for trying.

> - Simon

> Ramanand wrote:

> > Simon,

> > I ran into a similar problem and one of the ways I made it go away
> > (or rather do the right thing but in a different window) was by activating
> > the "Window->New Window" menu. This launched another window with the
> > properly refreshed views but then I was left with two windows both trying
> > to present a debug perspective....

> > Hope this helps somewhat.

> > Cheers

> > Ramanand

> > Simon Gray wrote:

> > > I am using Eclipse Platform 2.1.3 Mac OS X Carbon on a Mac G4 running OS
X
> > > 10.3.4. I
> > > have used CDT 1.2.0 Linux GTK and CDT 1.2.0 Linux Motif with the same
> > > results.

> > > I am able to create, compile and run projects using the C/C++ development
> > > perspective.
> > > I can also use the debugging perspective to step through a program, see
> > > the stack etc.
> > > This includes proper highlighting of the line to execute. However I
cannot
> > > get any
> > > variables to appear in the variables window. Any ideas why this might be
> > > or, better, how
> > > to fix it?

> > > I understand that Mac OS is not listed as one of the supported OSes for
> > > CDT, however it
> > > seems odd that everything else seems to display properly using the Linux
> > > distributions.


> > > - Simon
Re: Variables don't appear while debugging [message #768690 is a reply to message #106031] Tue, 20 December 2011 11:07 Go to previous message
Eclipse UserFriend
I had a very similar problem. Make sure the compiler flag -pg is used and the optimization is set to zero for the project and all dependent projects. This worked for me.
Previous Topic:Installation on (K)Ubuntu Linux
Next Topic:Debug view freezes
Goto Forum:
  


Current Time: Thu Jul 17 21:27:50 EDT 2025

Powered by FUDForum. Page generated in 0.08671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top