[TIMOB-11234] iOS: Device Debugger: Titanium SDK log messages print out of order
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-08-24T21:59:21.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | debugger, ios-device-debugger |
Reporter | Dustin Hyde |
Assignee | Eric Merriman |
Created | 2012-10-02T18:39:52.000+0000 |
Updated | 2017-03-23T22:46:26.000+0000 |
Description
During iOS device debugging, Titanium SDK log messages do not print in order.
Steps to Reproduce:
1. Launch app in iOS device debug with code (insert breakpoint at last line to initiate debugger):
alert('SESSION ID: ' + Ti.App.sessionId);
Ti.API.error('SESSION ID: ' + Ti.App.sessionId);
Ti.API.trace('1A. TRACE');
Ti.API.log('TRACE', '1B. TRACE');
Ti.API.debug('2A. DEBUG');
Ti.API.log('DEBUG', '2B. DEBUG');
Ti.API.info('3A. INFO');
Ti.API.log('INFO', '3B. INFO');
Ti.API.warn('4A. WARN');
Ti.API.log('WARN', '4B. WARN');
Ti.API.error('5A. ERROR');
Ti.API.log('ERROR', '5B. ERROR');
Ti.API.log('CUSTOM', 'CUSTOM');
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000'); // breakpoint
Actual Result:
Messages print to Studio console out of order. See attached log.
Expected Result:
Messages print in order.
Attachments
File | Date | Size |
---|---|---|
iOS Device Debugger Console Log Prints Out of Order.txt | 2012-10-02T18:42:42.000+0000 | 1834 |
Dupe of TISTUD-6903.
Closing ticket as Duplicate with reference to the above comments.