Found what i was looking for:
https://gist.github.com/1416503

Cheers,
Brett


On Fri, Jul 6, 2012 at 10:19 AM, Brett Spurrier <[email protected]>wrote:

> Hi all,
>
> This is hopefully straightforward, but I can't find an answer.
>
> I am trying to debug the contents of my pushnotification options
> dictionary (in FinishedLaunching), which is an NSDictionary type.  But
> because I would like to know what the NSDictionary contents are after the
> application is opened in response to a push notification (ie., the user
> clicks the notification when the app is closed, thus launching the app), I
> can't set a breakpoint in the FinishedLaunching method.
>
> I can however view Console.Write statements in the iOS console log, so my
> question is: how can I Console.WriteLine the contents of an NSDictionary?
> Using Console.WriteLine(options) just results in
> "MonoTouch.Foundation.NSDictionary".
>
> Does anyone have any ideas?
>
> Cheers,
> Brett
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to