appcelerator/titanium_mobile — pull request #2881 by mstepanov (2012-09-06 23:29:06+00:00)
Title: [TIMOB-10707] iOS: Expose runtime errors to module developers

[TIMOB-10707](https://jira.appcelerator.org/browse/TIMOB-10707)

FT instructions:
Use default KS app with the variations below:
1. add Ti.include("nonexisting.js"); to the top of the app.'s
2. Change win.open(); to win.openX();
3. Add var a = new Array(0x100000000);
4. With Xcode, modify TiWindowProxy.m -(void)windowDidOpen to add [self performSelector:@selector(nonexisting)];

In cases #1-3 a default red screen with error message and line information should appear.
In case #4, see a stack trace in console