Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » 3.0M6 Debug - Variables view
3.0M6 Debug - Variables view [message #91150] Thu, 08 January 2004 12:27 Go to next message
Eclipse UserFriend
Has anyone noted that the variables values seem backwards when debugging
C++ programs? An unsigned long with a binary value of 1 shows up as
0x1000000
Re: 3.0M6 Debug - Variables view [message #91183 is a reply to message #91150] Thu, 08 January 2004 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Seems to work fine. Is it an unsigned long or a typedef?

"David Truckenmiller" <dtrucken@stellent.com> wrote in message
news:btk3u8$360$1@eclipse.org...
> Has anyone noted that the variables values seem backwards when debugging
> C++ programs? An unsigned long with a binary value of 1 shows up as
> 0x1000000
>
Re: 3.0M6 Debug - Variables view [message #91198 is a reply to message #91183] Thu, 08 January 2004 17:41 Go to previous messageGo to next message
Eclipse UserFriend
Well, it is a complicated thing, but when I press cast to the value that
pops up is long unsigned int

Mikhail Khodjaiants wrote:

> Seems to work fine. Is it an unsigned long or a typedef?

> "David Truckenmiller" <dtrucken@stellent.com> wrote in message
> news:btk3u8$360$1@eclipse.org...
> > Has anyone noted that the variables values seem backwards when debugging
> > C++ programs? An unsigned long with a binary value of 1 shows up as
> > 0x1000000
> >
Re: 3.0M6 Debug - Variables view [message #91212 is a reply to message #91198] Thu, 08 January 2004 17:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

What is your working environment?
Does it happen with this particular variable or you see the same problem
with all unsigned long types?

"David Truckenmiller" <dtrucken@stellent.com> wrote in message
news:btkmb3$qa3$1@eclipse.org...
> Well, it is a complicated thing, but when I press cast to the value that
> pops up is long unsigned int
>
> Mikhail Khodjaiants wrote:
>
> > Seems to work fine. Is it an unsigned long or a typedef?
>
> > "David Truckenmiller" <dtrucken@stellent.com> wrote in message
> > news:btk3u8$360$1@eclipse.org...
> > > Has anyone noted that the variables values seem backwards when
debugging
> > > C++ programs? An unsigned long with a binary value of 1 shows up as
> > > 0x1000000
> > >
>
>
Re: 3.0M6 Debug - Variables view [message #91319 is a reply to message #91212] Fri, 09 January 2004 16:32 Go to previous message
Eclipse UserFriend
I think it had to do with an old Structure packing bug in gcc 2.95.3. I
turned off packing, and left the compiler just do its thing, and it looks
better now. I still can't properly "watch" variables, but that is
probably a different problem.

Mikhail Khodjaiants wrote:

> What is your working environment?
> Does it happen with this particular variable or you see the same problem
> with all unsigned long types?

> "David Truckenmiller" <dtrucken@stellent.com> wrote in message
> news:btkmb3$qa3$1@eclipse.org...
> > Well, it is a complicated thing, but when I press cast to the value that
> > pops up is long unsigned int
> >
> > Mikhail Khodjaiants wrote:
> >
> > > Seems to work fine. Is it an unsigned long or a typedef?
> >
> > > "David Truckenmiller" <dtrucken@stellent.com> wrote in message
> > > news:btk3u8$360$1@eclipse.org...
> > > > Has anyone noted that the variables values seem backwards when
> debugging
> > > > C++ programs? An unsigned long with a binary value of 1 shows up as
> > > > 0x1000000
> > > >
> >
> >
Previous Topic:Expression window
Next Topic:Managed make problem
Goto Forum:
  


Current Time: Fri Jun 06 18:25:44 EDT 2025

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

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

Back to the top