• 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: "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


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

  • Prev by Date: Re: read data from an .txt file
  • Next by Date: Broken pipe error in Xcode2.4.1
  • Previous by thread: Re: Debug view: Can't get a variable into the variable view
  • Next by thread: _mm_cvtss_f32 intrinsic availability
  • Index(es):
    • Date
    • Thread