Community Questions & Answers
Can you remote debug a WebView
I have an app that includes a WebView on iOS. Apparently, it should be possible to enable remote debugging on such apps from Safari on Mountain Lion. Can this be enabled with a webview in Appcelerator? It seems it can be done in native code like this:...
Where is the debug/console log location on an iPad?
I'm trying to determine if and where the console log is stored on the actual device (an iPad in this case). The log lives in the applications Documents directory in the simulator but not on the iPad. To be clear, this is the log to which Ti.API.trace...
__NSCFArray insertObject:atIndex
I have the strangest error. I have a collection of views that flip using `Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT`, they do this every 9 seconds and they can run for a long time, but suddenly I get the following error: `[__NSCFArray...
How can I know why something isn't working?
Titanium doesn't isn't very good at telling me why something doesn't compile or why something crashes at run time. Trying to add a Map view to a window. The application simply crashes- It doesn't give me any logical reason like "Fatal Exception:...
Can't run or debug from Studio due to CLI, even though CLI works...
When I want to start Can't start building or debugging from Titanium Studio using GUI but can build using CLI "titanium build" form Studio terminal window... Installed Studio following the documentation guide... (Haven't been using Titanium...
Debugger does not stop on breakpoints
It seems there has been some discussion about debugging in Titanium Studio about a year ago. However, I see no resolution posted. I am evaluating Titanium Studio and Alloy framework and I am not able to debug. The debugger never stops on any of my...
Debugging in other IDEs (intellij idea etc)
I have been a user and fan of IntelliJ IDEA. I have managed to include the javascript API as a library to my Titanium projects, code through IDEA with code completion working and build through command line. However I do not know if there is a way to debug...
Debugging in Alloy
Hi! I cannot get the debugger to work in an Alloy project under iOS using the latest version of Titanium (3.02). The only way I made it work was by using the files under the Resources folder but this is a REAL pain and quite useless for me at least.
Alloy Javascript Interactive Debugger
From http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Debugging_and_Troubleshooting "The Titanium Studio JavaScript debugger can be utilized to debug your Alloy application. " Can't get it running under 'Titanium Studio, build:...
How to execute javascript at breakpoint
I've started using Alloy and when I hit a breakpoint I would like to execute javascript using the current scope in the same way the console Chrome/Safari/Firefox works. Is this possible?
Titanium Studio - Pay to debug?!
I love Titanium and Appcelerator, but this is _crazy_. Titanium Studio requires you to PAY to debug your apps? I didn't like Studio anyway (it's one big mess, a real designer should take a look at it) so I think I'm going back to Developer for now. I loved...
App stop in splash screen when try debug in emulator and in device
Hello, Someone had this error? When I try to run de app it´s normal, in emulator and in device, but when I try to debug it freeze in splash screen. ~~~ [INFO][ActivityManager( 60)] Process com.android.alarmclock (pid 180) has...
Breakpoint with device debug not working
Hello, I'm trying to test the new debug functionality that comes with titanium SDK 3.0. I wanted to set a breakpoint inside a eventlistener, but this does not work! I've tested this on Android, because the emulator is so god damned slow! What is the use...
Manually build through xcode and debug javascript in studio
Is there a way to build the app through the generated xcode project, target the device, then launch the debug view in titanium studio? Can't seem to find a way to skip the iTunes sync step.
Alloy + Titanium.API.info()
hi, Is it normal that Alloy do not print in the console the Titanium.API.info() or debug() commands ? Or i'm missing something....
Upgrade to xcode 5.1.2 and ios6 : Can not connect to debugger
OK, I tried for a day to clean , remove , restart and edit my app. It ran just fine before I updated through the app store and recieved the new xcode. I had to install some simulators for it. At first I thought it was the set ios version to 4.3 thing. but...
Detecting debug vs release build
I need to enable some analytics code only for release build, preferably only when the app has been installed from app store (to avoid contamination of analytics data from app dev/testing). Any way to detect either debug/release build type OR...
"Firing app event" Showing in debug console
Any way to hide "Firing app event" from the console? Its started appearing again since v3.0
Mobileweb project runs on localhost but fails on server
My app runs fine through MAMP Pro on my Mac. However, it I copy it to one of our servers and access it that way I get an error:  Why would this be? Why...
Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "iOS Simulator failed to install the applicat
Hi, I keep getting the error ` Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "iOS Simulator failed to install the application." UserInfo=0x100625890 {NSLocalizedDescription=iOS Simulator failed to install the...
how do I view properties/method in a object
when I use console.log or console.info I can only get something like [INFO] [object TiDOMDocument] and I can't view properties or method in that object. is there a way to view them?
Debugger won't stop on breaking points except for app.js
Hi, Title says it all, I'm trying to debug something in a file from my Resources folder which is required in app.js and used in app.js Breaking points work but only in app.js Any idea? Thanks and have a nice day!
Titanium Error when debugging
I have set a breakpoint in my app, the app loads, the debugger gets focus, when I click on the variable tab I get the following error in a dialog box: An internal error occurred during: "child count update". 1 The connection to the app closes....
Debug statement in console view
Hi, I've just updated my titanium studio to Titanium Studio, build: 3.0.0.201211202053 RC. Now the problem is that my console output shows all the debug statement. I want it to only show info, error and warn statement. Anyone having the same problem? how...
Application has exited from Simulator
I have had this problem since I started using Titanium but I thought it was just my MacBook. When I read somewhere that other people had this problem on their iMac I thought i would ask here. When I try to run a simulation on iPhone/iPad (or emulation on...
Android debug on device
Whenever I developed Android apps in Java, I **always** debugged on the device to get a more accurate display of performance. I cannot find the option for "debug on device" in TiStudio. Is there one? Or should I file a feature request?
Debugging on android emulator
Hi, I am developing an android application. I am unable to debug my application. The Android Emulator gets opened but the debugger cannot connect to the Emulator.Eventually we get the ERROR message: "The application has stopped unexpectedly. Please...
Can't get console output on a mobile web project
I was just trying to debug a mobile web project with `Ti.API.info('testing');` but nothing is printed out to the Titanium Studio console. I used to do this all the time with iOS projects. Am I missing something here? ------ Titanium Studio, build:...
error in running titanium mobile app in debug mode
I just updated the titanium. Using the android emulator, my mobile app can still run in Run mode, but not in Debug mode. There are many error messages like [ERROR][JNIUtil ( 350)] !!! Unable to convert unknown Java object class...
how to log the which line cause the error in the javascript
titanium sdk: 2.1.1 platform: android os: mac os i'm using ddms to trace the error in my app, i create a filter with 'by Log Tag' as 'Ti'. the question is every time the error happens, only the trace for java, but nothing for the js file. Sometimes i...
Source Not Found
Hello- I am developing an app for Android and I am using SDK version 1.7.5. I am trying to debug my application and I am receiving a page entitled [Eval script] and it says "Source Not Found" and has a button that say's edit Source Lookup Path....
Debugging with breakpoints in Titanium not working anymore
Breakpoints are skipped and my app stops working when placing breakpoints in certain locations (e.g. in commonjs modules). I cannot resume. Without the breakpoints the app works fine. What could be the reason for that? I am using Titanium Studio, build:...
debugging on someone else's device
Hi all, this is not a question, but just some code I would like to share. I use this code in an app I am developing for iOS & android. Of course I test my code in the IOS simulator and android emulator first, but I also e-mail the android app.apk to...
Ti.API info and debugging not working under mobile SDK 1.5.x?
I've been trying to use Ti.API.debug and Ti.API.info to show up while running the Android emulator, and just FINALLY realized that it won't work under mobile SDK 1.5.0 and 1.5.1... once I compiled my code (as well as KitchenSink) under 1.2.0 mobile SDK,...
Crash every 2nd time I launch:
~~~ [DEBUG] removing old log file: bad path 99013B03-0000-0000-1000-006B00000000 [ERROR] Error: Traceback (most recent call last): File "/Users/hb/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1288, in...
Cannot build or run after updating Titanium to latest
Hi, I am currently unable to build or run any old or new projects. This started just upgrading to the latest Titanium release, namely build: 2.1.2.201208131642 Here is the trace log: ~~~ [INFO] One moment, building ... [INFO] XCode 4.3+ likely. Searching...
How could I see the memory consumption in DDMS for my phone
Hello every. How can I debug my program in my phone and watch the memory consumption information in DDMS? I successfully installed the app to my phone by "Install to Android Device" and run the program. But I do not find the process of my app...
Use Ti.App.debug and info with Android from Command-Line
Hi, As I´m not a big fan of IDE´s I use VIM & and the command-line. This worked great for iPhone but now I´m heading to Android and there is a difference. When I run: ~~~ > titanium run --platform=iphone ~~~ I see what´s happening when I use...
Problems with Titanium Studio 2.1.0
Hi, I was obliged to upgrade to Ti. 2.1.0 simply because it addressed some issues that I needed. However, this has come at a price tag. The IDE version isn't half as nice as its predecessor. I've installed Studio Titanium Studio, build:...
[WARN] Exception in event callback.
Okay. So I'm one of the misfortunate few who has Lion. As far as I know - there is that bug, where you get a nice debug error that looks like this: ~~~ [WARN] Exception in event callback. { ~~~ Has anyone found a way around how to debug this ? (after the...
Application has exited from Simulator
Hello, I have an application that has started crashing... I am not getting any information through Titanium Studio apart from... "[INFO] Application has exited from Simulator". It is not at the same point every time, so it does not appear to...
Remove Ti.API.info() debug() etc. before submit?
Hi! I have a lot of debugging going on in my app and want to leave it intact in case my app wont be approved by Apple, also i will start version 2 staright after submitting. Is it ok to leave all those debug lines in my code? I think i've read that the...
Viewing HTTP request/response info in Titaniun studio
Hi, Similar to what Firebug and Chrome tools have for web, i was looking for a place to view the http request and response data coming in and out of my Titanium app. Is there a way to do this or any tools people suggest I use ? thanks for any info !
debugger failed to connect
hi,every one! I can not debug in the titanium... I am developing a application that was working Ok, no problem. Then I started by debug and received the error: 'debugger failed to connect' anyone can help me?thanks!
new debugging system for titanium - cloudebug
The real-time, internet-based debugging system designed for Titanium Appcelerator: **http://www.cloudebug.com** --- As long as the device that is running your app is connected to the Internet - you can debug your code by using any browser, from...
[DEBUG] ignoring new layout while animating in layout Child..
Hi, I have a window where there's "PICKER". I click on the picker and it launches a Category list. I choose from something in that list. I press "SELECT" It works. It does exactly what I want it to do. However, whenever I press it...
how to debug on my device - not emulator
I would like to debug on my asus transformer android device. My device is enabled for usb debugging and shows up when I issue "adb devices". I created an AVD with the asus resolution (is this necessary?). When I launch the debugger from...
Breakpoints are ignored while debugging
I'm experiencing a problem similar to to issue logged by other community members, but not yet solved: breakpoints are ignored while debugging. Some users mentioned that it's working in app.js only, but not in my case: even if I create new project, put...
Breakpoints in Titanium Studio
When trying to debug an app consisting of several files, the debugger stops at breakpoints in app.js but ignores all other breakpoints i set in other files (referenced in app.js via include). Is there anything i have to do in order to debug several app...
can't deploy app in android simulator
i just start learn Titanium, I use Titanium Studio to make a sample test app: var win = Titanium.UI.createWindow({ title:"Listening for Events", backgroundColor:"#FFFFFF", exitOnClose:true }); var label =...