Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-3379

iOS Console: log level filter does not update in realtime, or respect run config

    Details

    • Story Points:
      5

      Description

      iOS Console: log level filter does not update in realtime.

      Steps to Reproduce:

      1. Create Titanium Project.
      2. Edit app.js:

      var win = Ti.UI.createWindow();
       
      var button = Ti.UI.createButton({
          title : 'click',
          top : '40%',
          bottom : '40%',
          left : '30%',
          right : '30%'
      });
       
      button.addEventListener('click', function() {
          Ti.API.error('ERROR => Ti.API.error');
          Ti.API.log('ERROR', 'ERROR => Ti.API.log');
          Ti.API.warn('WARN => Ti.API.warn');
          Ti.API.log('WARN', 'WARN => Ti.API.log');
          Ti.API.info('INFO => Ti.API.info');
          Ti.API.log('INFO', 'INFO => Ti.API.log');
          Ti.API.debug('DEBUG => Ti.API.debug');
          Ti.API.log('DEBUG', 'DEBUG => Ti.API.log');
          Ti.API.trace('TRACE => Ti.API.trace');
          Ti.API.log('TRACE', 'TRACE => Ti.API.log');
          Ti.API.log('FREEFORM', 'FREEFORM => Ti.API.log');
      });
       
      win.add(button);
       
      win.open();
      

      3. Run project in iPhone Simulator.
      4. Click button in app.
      5. Change log level in console UI using drop-down list.
      6. Click button in app.

      Actual Result:

      Same log filter as before, not updated in real-time.

      Expected Result:

      Different log filter, updated in real-time. Works for Android Emulator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: