Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (logging)
Browsing all 20 articles
Browse latest View live

Ti.API.info and Ti.API not working for iOS 4.3

Run the kitchen sink in 4.2, then 4.3. Observe different log output. I am on OSX Snow Leopard and TI SDK 1.7.0

View Article



Output to log from iPhone simulator stops after 2 seconds

Almost right after the app starts running then the logging stops working. I'm using Titanium 1.7.2 and I have installed Xcode 4.0.2 (4A2002a) on Mac OS X 10.6.8. For logging I use:...

View Article

Android custom module - Log.d not showing up in console

I'm building a custom Android module in Eclipse for my Titanium Android app. I'm able to use the custom module methods in both the Titanium application and the example application in Eclipse. However,...

View Article

Studio console busted now?

Does anyone else notice that in the console in Studio, its not that great? Before, when I had an error an an event, it actually gave the error, and a line number usually. Now it jus says 'exception in...

View Article

One Line Log in Titanium Studio

Hi, I just recently noticed that all the log output to the console in titanium studio(1.0.7) is formatted to be on one line. This is bad in particular for exception logs that are formatted like this:...

View Article


Logging objects

I've been playing with Titanium for a bit now and so far one of my major gripes is the limited logging using the built-in Titanium.API.log() function. Being spoiled with PHP's var_dump function I was...

View Article

Logging on device

Is it possible to get logging data from an iOS device when debugging?

View Article

Printing a javascript object to the log

Hello, I'd like to print a javascript object to the log. I'm using the mobile development kit. The only thing I could think of (that didn't work) was: Ti.API.info(Ti.API.print(someObject)); Thanks

View Article


App errors not showing in console or simulator

I started coding on titanium a few days ago and all was well until yesterday. I made no changes except I think there was an update from titanium or ios 6 that was installed automatically. However now I...

View Article


No log messages in Titanium Developer after installing iOS SDK 4.3.1

I have installed iOS SDK 4.3.1 and I have no log messages in Titanium Developer. I tried the previous hotfix (http://developer.appcelerator.com/blog/2010/07/introducing-titanium-mobile-1-4.html), set...

View Article

Module logging not visible when running app

Hi, I am building a custom Titanium iOS module. I can see debug statements using NSLog() when I run the module using titanium.py run. However, when I install the module and run the app I'm building, I...

View Article

Displaying the debug logs within an application

I'd like to display the Titanium debug logs within my mobile application while I'm testing it with a group of beta users so that it's easier to track down problems when they occur. This way if...

View Article

Is there a way to output the log file to the value property of a textarea?

Basically I got several Ti.API.log() message throughout my application but I'd like to output that information to the textarea within my application using the value property of a textarea. Is that...

View Article


Titanium Studio doesn't generate build.log file

I needed my build.log file, but it cannot be found, anywhere. I noticed none of my projects actually have a build.log. One project does have a build.log, but that file came from another computer, on...

View Article

Hide Error Display when deploying

Just in case, how do you hide errors from appearing when you deploy the application to production?

View Article


Image may be NSFW.
Clik here to view.

Helpful script for watching logs even if you close/restart app on Simulator.

I think this will be helpful to others. Intro Building from ti build or Titanium Studio starts the logs.. I will often close the app on the simulator make an js file change then reopen the app on the...

View Article

Adhoc build not showing any logging

I am pretty sure this did not use to happen before, but right now I cannot see any of my log messages when I put an adhoc build on my iPhone. Using SDK 3.1.3. Any setting to enable logging at a certain...

View Article


Logs not showing in studio console

I don't see any logs from iphone simulator in console. Ti.API.log('log'); Ti.API.debug('debug'); Ti.API.error('error'); Ti.API.info('info'); Titanium Studio, build: 3.1.3.201309132423 Titanium SDK:...

View Article

Ti.API.info() not displaying in console

SDK 3.1.3.GA Studio 3..1.3.x This may relate to an earlier issue I had where my project natures got turned off. But, none of my user-generated console output appears. I followed these steps Titanium...

View Article

Ti.API.info logs not showing in iPhone console when running on device (but...

I am developing in iPhone app using Titanium SDK v2.0.2. I have numerous Ti.API.info log calls in my code, which show up in the Titanium Studio console when running on the iPhone simulator. When I...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images