• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debug view: Can't get a variable into the variable view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Debug view: Can't get a variable into the variable view (From: Paul Van Hoven <email@hidden>)

  • Prev by Date: read data from an .txt file
  • Next by Date: Re: Optimization questions
  • Previous by thread: Debug view: Can't get a variable into the variable view
  • Next by thread: Re: Debug view: Can't get a variable into the variable view
  • Index(es):
    • Date
    • Thread