Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Strange behavior of Point in watches
Re: Strange behavior of Point in watches [message #22897 is a reply to message #22891] |
Tue, 25 August 2009 20:44 ![Go to previous message Go to previous message](theme/default/images/up.png) ![Go to next message Go to previous message](theme/default/images/down.png) |
|
luzr wrote on Tue, 25 August 2009 10:07 | It is because correct stack frame for the function is not yet established - gdb reads incorrect values.
If you step inside, you they get corrected.
|
Thanks for reply. I think I understand what you mean - basically that I asked for the value before entering the function (or it's stack frame, more precisly). BUT: The same problem happens even when stepping inside. Let's take longer function, like: virtual void LeftDown(Point p,dword flags){
DUMP(p);
p.Offset(10,10);
Point pt=p;
DUMP(pt);
p=pt;
}
Then at any point in the function p watches yield nonsense. Watches for pt are correct (after it's assignment of course). Does that mean that watching any parameter passed to the function might be incorrect? That would be really confusing, especially for people who doesn't know about it, like me ![Smile](images/smiley_icons/icon_smile.gif)
Honza
|
|
|
![Read Message Read Message](theme/default/images/read.png) |
|
Strange behavior of Point in watches
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mirek on Tue, 25 August 2009 10:07
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mirek on Wed, 26 August 2009 09:00
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: dolik.rce on Wed, 02 September 2009 04:47
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mirek on Wed, 02 September 2009 17:59
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: dolik.rce on Wed, 02 September 2009 19:17
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mirek on Wed, 02 September 2009 20:43
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: dolik.rce on Thu, 03 September 2009 10:19
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mr_ped on Thu, 03 September 2009 11:11
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: dolik.rce on Thu, 03 September 2009 19:00
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: Strange behavior of Point in watches
By: mr_ped on Fri, 04 September 2009 08:32
|
Goto Forum:
Current Time: Wed Jun 19 00:04:50 CEST 2024
Total time taken to generate the page: 0.01179 seconds
|