Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting QD->CG




On Nov 29, 2004, at 4:59 PM, David M. Cotter wrote:

--> "Ignoring Quickdraw drawing between QDBeginCGContext and QDEndCGContext"
is there a way to "set a breakpoint" on this somehow, so I can see the QD call that caused this??
Try setting a breakpoint at "fprintf" and look at the backtrace.

this must be obvious to everyone but me, but, ummm, I don't have the source code to "fprintf" in my project. i'm in CodeWarrior, how does one set a breakpoint on a line of code one does not have access to?'

I use CodeWarrior if you put a fprintf call in your code set a break point there then when the debugger stops execution,
click the step into button then the debugger will display a bunch of disassembly code set a break point on the first line you see.
The debugger will stop during all calls to that function.


David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Converting QD->CG (From: "David M. Cotter" <email@hidden>)
 >Re: Converting QD->CG (From: Joseph Maurer <email@hidden>)
 >Re: Converting QD->CG (From: "David M. Cotter" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.