[TIMOB-7976] iOS: Increase Crash Log output if possible
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Alan Leard |
Assignee | Unknown |
Created | 2012-03-13T12:30:48.000+0000 |
Updated | 2018-03-06T18:57:56.000+0000 |
Description
Developers would like more info about what JS is being evaluated when a crash happens posted to the crash log. Any additional information that Titanium could output to a crash log would be appreciated. Currently iOS crash logs sent in from users in the wild are very hard to correlate back to the application code.
We should evaluate the same for Android platform as well.
Hello. This is, IMHO, extremely important topic. Currently on Android, when app crashes, Java exception is thrown (of course, when it is not related to JS directly) that can't be caught by try/catch in JS. Because of that, tracing the source of that exception and dumping execution stack is impossible (and that makes bug finding a hard task to do). Just by having the option to catch Java exception in JS we (developers) will have an option to build our own tools (by using JS) for debugging and tracing that would work on devices and not only on slow, buggy, slow and unreliable (did I say slow :) ) Android emulators.