Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11234] iOS: Device Debugger: Titanium SDK log messages print out of order

GitHub Issuen/a
TypeSub-task
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2016-08-24T21:59:21.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsdebugger, ios-device-debugger
ReporterDustin Hyde
AssigneeEric Merriman
Created2012-10-02T18:39:52.000+0000
Updated2017-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

FileDateSize
iOS Device Debugger Console Log Prints Out of Order.txt2012-10-02T18:42:42.000+00001834

Comments

  1. Chris Barber 2016-08-24

    Dupe of TISTUD-6903.
  2. Lee Morris 2017-03-23

    Closing ticket as Duplicate with reference to the above comments.

JSON Source