[TIMOB-11233] iOS: Device Debugger: Titanium SDK log messages do not print to Xcode console
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-02-06T22:19:27.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 03 JS, 2013 Sprint 03 |
Components | iOS |
Labels | debugger, ios-debugger, ios-device-debugger, qe-sdk3.0.2 |
Reporter | Dustin Hyde |
Assignee | Max Stepanov |
Created | 2012-10-02T18:35:53.000+0000 |
Updated | 2013-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
File | Date | Size |
---|---|---|
Xcode log with no device messages.txt | 2012-10-02T18:35:53.000+0000 | 2238 |
What is the Xcode console?
The Device Console. iOS bug, assigning to Max.
Dustin, this was made by design to avoid double logging during debugging. Always been there.
@Max--is this a "won't fix"?