Luke
Luke

Reputation: 3655

Is it possible to use NSZombieEnabled in Monotouch?

I've been reading up about the environmental variable NSZombieEnabled and I wondered whether it is currently possible to use this in a Monotouch runtime? If not, is there a suitable alternative that I'm just glazing over?

The reason I ask is because it may be helpful to find any leaks one may have in their app - I've tried to use Instruments with limited success and would like to try every possible option to ensure I have a nice and stable app.

Edit

I misunderstood what they were used for (it is Monday morning after all...) - but I would still be curious to know whether it is possible, or because of C#'s automated GC, whether they would be relevant?

Upvotes: 2

Views: 466

Answers (1)

Geoff Norton
Geoff Norton

Reputation: 5056

MonoTouch automatically enables NSZombieEnabled when running on the simulator debugger.

There is currently no way to enable this on the device.

Upvotes: 3

Related Questions