[TIMOB-9214] Android: Trace messages (Ti.API.trace) do not appear in Studio because of how Android builder.py launches the emulator
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-05-24T18:12:48.000+0000 |
| Affected Version/s | Release 2.0.1 |
| Fix Version/s | Release 2.1.0, Sprint 2012-11 Core |
| Components | Android |
| Labels | core, module_api, parity, qe-testadded |
| Reporter | Bill Dawson |
| Assignee | Bill Dawson |
| Created | 2012-05-23T16:00:34.000+0000 |
| Updated | 2012-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.
PR ready https://github.com/appcelerator/titanium_mobile/pull/2262
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