Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-11233

iOS: Device Debugger: Titanium SDK log messages do not print to Xcode console

    Details

      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

          Issue Links

            Activity

              People

              • Assignee:
                mstepanov Max Stepanov
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-14512
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration