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:...

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.

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?

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...

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...

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...

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...

632 views
asked 11 months ago by AJ Chen
last activity 7 months ago

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 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...

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...

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...

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!

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...

Showing 1-50 of 140 1 2 3