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

Windows: console.debug is not implemented

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 4.1.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      SDK 4.1.0 beta (4.1.0.v20150626223333)

    • Story Points:
      1
    • Sprint:
      2015 Sprint 13 Windows

      Description

      The following example will crash on console.debug:

      var win = Ti.UI.createWindow();
      var btn = Ti.UI.createButton({
      	title: 'Click',
      	color: 'red'
      });
      btn.addEventListener('click', function(e) {
      	Ti.API.info('hello Ti.API.info');
      	Ti.API.debug('hello Ti.API.debug');
      	console.info('hello console.info');
      	console.debug('hello console.debug');
      });
      win.add(btn);
      win.open();
      

      This is because console.debug is not mapped to Ti.API.debug here:
      https://github.com/appcelerator/titanium_mobile_windows/blob/master/Source/TitaniumKit/src/ApplicationBuilder.cpp#L241-L245

        Attachments

          Activity

            People

            • Assignee:
              fokkezb Fokke Zandbergen
              Reporter:
              fokkezb Fokke Zandbergen
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code