Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12404] BlackBerry : Ti.API.info logs don't show up on studio console.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-22T22:12:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsBlackBerry
Labelsqe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-01-24T00:32:03.000+0000
Updated2014-06-19T12:42:36.000+0000

Description

Description: 1.In titanium studio create a BB project which has some Ti.API.info in it. 2.Run the app on BB device or BB simulator. Actual Result: 1.We do not see any app logs in the studio console. Expected Result: 1.We should see the app logs.

Comments

  1. Russell McMahon 2013-01-25

    Run from command line as per the BB github instructions if you see output in terminal window then the bug is in Titanium Studio.
  2. Lokesh Choudhary 2013-01-25

    @Russ : tried out the command line optioned mentioned in the github instructions & found the following observations: 1.On both simulator & device we are getting logs but they are kinda intermediate.Its like they are buffered. Use the code below in your app.js to test:
       var win = Ti.UI.createWindow();
       win.add(Ti.UI.createLabel({text: 'Hello, BlackBerry!'}));
       var button = Titanium.UI.createButton({
          title: 'Hello',
          top: 60,
          width: 200,
          height: 100
       });
       button.addEventListener('click',function(e)
       {
          Titanium.API.info("You clicked the button");
       });
       win.add(button);
       win.open();
       
    Clicking on 'Hello'button once does not show us any logs but clicking on it twice (clicking one after the other) gives us one log,similarly clicking it twice gives us two logs.Its somehow does not work when clicked normally once like any other user will do.
  3. Josh Roesslein 2013-01-31

    This will likely involve working with Studio on integrating support. They way require some CLI support.
  4. Lokesh Choudhary 2013-04-04

    Verified the fix & we can see the info logs in console. Thus closing. Ti Studio:3.1.0.201304031528 Ti SDK : 3.1.0.201304031528
  5. Josh Roesslein 2013-04-05

    Was this actually fixed in Studio? If not this should have been converted to a TISTUD bug not closed.
  6. Russell McMahon 2013-04-05

    This was fixed. Unfortunately we will need to retest using the new CLI.
  7. Lokesh Choudhary 2013-04-05

    I am not aware if we had any studio issue for this but I closed as I could see the logs on studio console.
  8. Josh Roesslein 2013-04-05

    Okay thanks for confirming it as fixed.

JSON Source