On Sat, Sep 22, 2012 at 9:21 AM, René Ruppert <[email protected]>wrote:

> But aren't device logs disabled in productive builds since some ios5
> update?  I thought Console.Write() was changed to a NOP?
>

What was disabled in iOS5 was stdout/stderr (only redirected to the device
console when a device is being used for development), which is not the same
as NSLog (always writes to the device console). Console.Write* was changed
to use NSLog, not to a NOP.

AFAIK NSLog works always, even for devices never used for development.

Rolf



>
> Grüße, René
>
> Am 22.09.2012 um 02:29 schrieb Rolf Bjarne Kvinge <[email protected]>:
>
>
>
> On Fri, Sep 21, 2012 at 3:37 PM, Dean Cleaver <
> [email protected]> wrote:
>
>>  If we could make it crash we would just crash mine – it’s completely
>> random.
>>
>
> I know some app devs have asked their users to install the iPhone
> Configuration Utility [1] to get the device console output.
>
> Rolf
>
> [1] http://support.apple.com/kb/DL1465
>
>
>>
>> Dino
>>
>>
>>
>> *From:* Rolf Bjarne Kvinge [mailto:[email protected]]
>> *Sent:* Friday, September 21, 2012 08:22
>>
>> *To:* Dean Cleaver
>> *Cc:* [email protected]
>> *Subject:* Re: [MonoTouch] Crash report
>>
>>
>>
>>
>>
>> On Fri, Sep 21, 2012 at 3:08 PM, Dean Cleaver <
>> [email protected]> wrote:
>>
>> Sorry – according to XCode this is the device log – or are you talking
>> about a different log?
>>
>>
>>
>> Sorry, I meant the (device) console.
>>
>>
>>
>> You can access it from inside MonoDevelop, menu View -> Pads -> iOS
>> Device Log (and click connect), then debug your app on device and make it
>> crash.
>>
>>
>>
>> Rolf
>>
>>
>>
>>
>>
>> Dino
>>
>>
>>
>> *From:* Rolf Bjarne Kvinge [mailto:[email protected]]
>> *Sent:* Friday, September 21, 2012 08:06
>>
>>
>> *To:* Dean Cleaver
>> *Cc:* [email protected]
>> *Subject:* Re: [MonoTouch] Crash report
>>
>>
>>
>>
>>
>> On Fri, Sep 21, 2012 at 2:37 PM, Dean Cleaver <
>> [email protected]> wrote:
>>
>> I guess there’s little I can do about it?
>>
>>
>>
>> Get the device log somehow. It should at least tell you more about which
>> exception was thrown.
>>
>>
>>
>> Rolf
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to