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: "Sean McBride" <email@hidden>
- Date: Mon, 27 Nov 2006 10:54:59 -0500
- Organization: Rogue Research
On 2006-11-25 13:11, Paul Van Hoven said:
>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".
I have seen that happen too. Are you using STABS or Dwarf? What if you
open the 'console' window and type 'p pixmap'?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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