Re: Debug view: Can't get a variable into the variable view
Re: Debug view: Can't get a variable into the variable view
- Subject: Re: Debug view: Can't get a variable into the variable view
- From: "Mark Wagner" <email@hidden>
- Date: Mon, 27 Nov 2006 14:11:39 -0800
On 11/25/06, Paul Van Hoven <email@hidden> wrote:
I wrote this piece of Qt code:
[code] QPixmap pixmap( PATH_TO_PIXMAP );
strikeLabel->setPixmap( pixmap );[/code]
Now I've set a breakpoint in the second line. So when the program is halted at this line, I want to check the value of the variable "pixmap". But I can't find it anywhere in the "variable" window in the debug view where I can check every variable. So pixmap is a local variable of the method. But how can I display the intrinsic of the variable ? I`ve set the -g flag for the gcc. Neither I can right click on the variable and say "watch variable" nor "Debug > Variables View > Watch Variable".
Is optimization on? The compiler might have optimized the variable
out of existance.
--
Mark Wagner
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden