[AC-2670] Ti.API.debug() fails
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-02-21T22:16:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Michael Stelly |
Assignee | Ritu Agrawal |
Created | 2014-02-21T16:41:41.000+0000 |
Updated | 2016-03-08T07:41:46.000+0000 |
Description
Steps to Reproduce
- app: iOS mobile
- sdk: 3.2.1.GA
- os: osx mavericks
- studio Titanium Studio, build: 3.2.1.201402041146
- output: iPhone Simulator v 7.x
---------------------------
create new project
add the following to index.js file
Ti.API.info('this is info');
Ti.API.debug('this is debug');
Run Studio once in RUN mode, once in DEBUG mode (I tested on iOS simulator)
Actual Result
On both tests, only output received in console was: [INFO] this is info
Expected Result
In run mode: [INFO] this is info
In debug mode: [DEBUG] this is debug
Attachments
[~madcode] To see the debug info, the selected log level should be debug. Here is the output if the log level is debug. [INFO] : BugTC3806/1.0 (3.2.1.GA.991027b) [INFO] : this is info [DEBUG] : Analytics is enabled = YES [DEBUG] : Loading: /Users/ragrawal/Library/Application Support/iPhone Simulator/7.0.3/Applications/0FD3C39D-1512-4C0E-8A4F-47EE20EB6585/BugTC3806.app/app.js, Resource: app_js [DEBUG] : this is debug [DEBUG] : Application booted in 59.518039 ms Please let us know if this resolves your issue.
Apparently, when I updated to studio 3.2, my trace settings were reset without my knowledge. It had been so long since I had to set them that I simply forgot how to check. Sorry to waste your time. Thanks for the help. Please close.
no problem [~madcode].