• 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
How to see bounds of RgnHandle passed to SetPortVisibleRegion in Instruments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to see bounds of RgnHandle passed to SetPortVisibleRegion in Instruments?


  • Subject: How to see bounds of RgnHandle passed to SetPortVisibleRegion in Instruments?
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 25 Mar 2010 10:45:40 -0400

I've got a difficult drawing bug that I am trying to track down. I know what is going on - during the draw routine, the region returned by GetPortVisibleRegion is wrong. I believe it is because someone has done something to cause SetPortVisibleRegion to be called with the bad region. I cannot just search for all of the calls to SetPortVisibleRegion, because it can be called by various OS calls, like BeginUpdate.

It is easy to setup Instruments to show me all of the times that SetPortVisibleRegion is called and I am making some progress based just on this information.

However, it would be even more useful if I could see the bounds of the region being passed in. I am certain this is possible, but I don't know how to do it.

Anyone know?

p.s. if there are any other calls that people are aware of that would affect the region returned by GetPortVisibleRegion, I would be interested in that as well.

Thank you.

 _______________________________________________
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

  • Prev by Date: Re: Xcode performance issues over time
  • Next by Date: Regular expressions
  • Previous by thread: Target actions
  • Next by thread: Regular expressions
  • Index(es):
    • Date
    • Thread