Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9214] Android: Trace messages (Ti.API.trace) do not appear in Studio because of how Android builder.py launches the emulator

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-05-24T18:12:48.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-11 Core
ComponentsAndroid
Labelscore, module_api, parity, qe-testadded
ReporterBill Dawson
AssigneeBill Dawson
Created2012-05-23T16:00:34.000+0000
Updated2012-06-05T12:09:38.000+0000

Description

Fail case / Test case:

* Create a new app in Ti Studio. * In the Console area, change the filter to Trace. * Run this app.js *in an emulator*:
Ti.API.trace("TRACE TRACE TRACE");
Ti.API.info("INFO INFO INFO");
Ti.API.debug("DEBUG DEBUG DEBUG");
* Display the "Titanium Android Emulator" console in the console area. * In the fail case, you'll see only the INFO and DEBUG messages. While testing the fix, you should see all three.

Comments

  1. Bill Dawson 2012-05-23

    PR ready https://github.com/appcelerator/titanium_mobile/pull/2262
  2. Wilson Luu 2012-06-05

    Closing bug. Verified fix on: SDK build: 2.1.0.v20120604151821 Titanium Studio, build: 2.0.2.201205311912 Runtime: v8 Device: Emulator Google API 2.2

JSON Source