[MonoTouch] MonoTouch and iOS 5.1
Miguel de Icaza
miguel at xamarin.com
Mon Mar 12 21:46:28 UTC 2012
Hello,
On Mar 12, 2012, at 11:34 AM, Rodrigo 'r2d2rigo' Diaz wrote:
> > Does this problem affect System.Diagnostics.Debug.WriteLine too?
>
It does not.
The reason is because we have the attribute
[Conditional ("DEBUG")]
Which means that those calls to Console.WriteLine only happen for debug
builds, but they are not present on release builds. That said, if you
manually added the definition to your profiles, then you would have a
problem.
Miguel
>
> It should, as Debug.WriteLine() just calls Console.WriteLine():
>
>
> https://github.com/mono/mono/blob/master/mcs/class/System/System.Diagnostics/Debug_2_1.cs#L71
>
> - Jon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120312/b2735bb5/attachment.html>
More information about the MonoTouch
mailing list