Re: No longer use NSLog() in Xcode 4?
Re: No longer use NSLog() in Xcode 4?
- Subject: Re: No longer use NSLog() in Xcode 4?
- From: Conrad Shultz <email@hidden>
- Date: Thu, 15 Sep 2011 10:00:37 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9/15/11 9:43 AM, Jerry Krinock wrote:
> I'm trying very hard to embrace change and get on board with Xcode
> 4. The worst thing for me is the loss of User Scripts, in which I
> had keyboard shortcuts for adding and bulk-removing NSLog()
> statements in a flash.
>
> Back in one of those rambling Xcode 4 threads on July 24, Patrick
> William Walker wrote:
>
> "The new action triggers inside the debugger are pure freakin'
> gold. I haven't used NSLog() in weeks now."
>
> I can't find any documentation on "action triggers". I'd
> appreciate an explanation of what "action triggers" are, and how
> they obviate NSLog(). I hope they does not require running with
> breakpoints on. I generally don't turn breakpoints on unless I
> need them, because it typically takes tens of seconds for them to
> load.
I think this probably refers to "behaviors":
https://developer.apple.com/library/ios/#recipes/xcode_help-alerts_preferences/Recipe.html
In this year's "Effective Debugging with Xcode 4" WWDC video they show
specifically how to use variable logging and automatic continuation
inside breakpoints (not what you wanted to hear) in lieu of NSLog().
(Also note that one of the actions that you can set in a behavior is
to run a script. This may or may not be useful to you.)
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFOci81aOlrz5+0JdURAq4PAJsGuUqRWZCJI4EFN+7VeuWh6AcmqQCcD/Ks
H4MCfWl8znoZvUvjY2OtJGA=
=FdTE
-----END PGP SIGNATURE-----
_______________________________________________
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