| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
To keep the effort of logging at a minimum, I'd suggest to break down the_______________________________________________
logging itself into a handler, like
property doLog:true
property doBreak:true
on LogIt(logWhat)
if doLog is true then
log logWhat
end if
end LogIt
on BreakIt(TellMe)
if doBreak is true then
display dialog TellMe
end if
end BreakIt
That way, logging and breaking could be turned on an off just by setting the
properties. No need to out comment any log or display dialog.
| References: | |
| >Re: Debugger? (From: klaus umland <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.