Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11233] iOS: Device Debugger: Titanium SDK log messages do not print to Xcode console

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-02-06T22:19:27.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 03 JS, 2013 Sprint 03
ComponentsiOS
Labelsdebugger, ios-debugger, ios-device-debugger, qe-sdk3.0.2
ReporterDustin Hyde
AssigneeMax Stepanov
Created2012-10-02T18:35:53.000+0000
Updated2013-03-27T22:31:05.000+0000

Description

During iOS device debugging, Titanium SDK log messages do not print to Xcode console, but they do print to Studio console. 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, but not Xcode console. Expected Result: Messages print to Studio console AND Xcode console.

Attachments

FileDateSize
Xcode log with no device messages.txt2012-10-02T18:35:53.000+00002238

Comments

  1. Chris Barber 2013-01-30

    What is the Xcode console?
  2. Dustin Hyde 2013-01-30

    The Device Console. iOS bug, assigning to Max.
  3. Max Stepanov 2013-01-30

    Dustin, this was made by design to avoid double logging during debugging. Always been there.
  4. Ingo Muschenetz 2013-02-06

    @Max--is this a "won't fix"?

JSON Source