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

Studio: warn, info, debug not outputting when debugging on phone

    Details

    • Story Points:
      8

      Description

      Problem
      When debugging an application on the phone (iPhone 4S), the Ti.API.info, warn and debug commands produce no output.

      Test case

      var win = Ti.UI.createWindow({
      	backgroundColor: 'white'
      });
       
      var b1 = Ti.UI.createButton({
      	title: 'Button',
      	top: 50,
      	height: Ti.UI.SIZE,
      	width: Ti.UI.SIZE
      });
       
      b1.addEventListener('click', function() {
      	Ti.API.warn('this is warn output');
      	Ti.API.info('this is info output');
      	Ti.API.debug('this is debug output');
      });
       
      win.add(b1);
      win.open();
      

      Output
      (nothing - console is blank)

      Expected output

      [WARN] :   this is warn output
      [DEBUG] :  this is debug output
      [INFO] :   this is info output
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                mross@qtags.com Mark Ross
              • Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: