Re: [android-developers] Re: Back Trace in Android

2011-04-22 Thread Oscar Marques
You can use strace compiled to arm. I tried and it works. 2011/4/22 Pandi pandiwelco...@gmail.com It is function trace/stack trace. Which will give who is calling what? On Apr 22, 3:51 pm, Kumar Bibek coomar@gmail.com wrote: WHat's a Back Trace? Kumar

[android-developers] Re: Back Trace in Android

2011-04-22 Thread Pandi
It is function trace/stack trace. Which will give who is calling what? On Apr 22, 3:51 pm, Kumar Bibek coomar@gmail.com wrote: WHat's a Back Trace? Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Apr 22, 2011 at 4:12 PM, Pandi pandiwelco...@gmail.com wrote: Hi,

Re: [android-developers] Re: Back Trace in Android

2011-04-22 Thread Kostya Vasilyev
strace is for native code. For Java code, there are useful functions in java.lang.Thread: http://developer.android.com/reference/java/lang/Thread.html static void dumpStack() static MapThread, StackTraceElement[] getAllStackTraces() StackTraceElement[] getStackTrace() -- Kostya 22.04.2011

[android-developers] Re: Back Trace in Android

2011-04-22 Thread Pandi
Thanks Kostya and Oscar Marques. I want to get stack trace at run time from the code. I want to use strace in my code. How? any samples??? On Apr 22, 4:57 pm, Kostya Vasilyev kmans...@gmail.com wrote: strace is for native code. For Java code, there are useful functions in java.lang.Thread:

Re: [android-developers] Re: Back Trace in Android

2011-04-22 Thread Oscar Marques
Try logcat, loginfo. 2011/4/22 Pandi pandiwelco...@gmail.com Thanks Kostya and Oscar Marques. I want to get stack trace at run time from the code. I want to use strace in my code. How? any samples??? On Apr 22, 4:57 pm, Kostya Vasilyev kmans...@gmail.com wrote: strace is for native

[android-developers] Re: Back Trace in Android

2011-04-22 Thread Pandi
No...logcat will display only available logs in the code. I want to track function call in android native code(.cpp,.c) For Java, we can get from code which was mentioned by Kostya. On Apr 22, 5:59 pm, Oscar Marques osca...@gmail.com wrote: Try logcat, loginfo. 2011/4/22 Pandi

Re: [android-developers] Re: Back Trace in Android

2011-04-22 Thread Mark Murphy
On Fri, Apr 22, 2011 at 11:33 AM, Pandi pandiwelco...@gmail.com wrote: No...logcat will display only available logs in the code. I want to track function call in android native code(.cpp,.c) Questions regarding the NDK are best asked here: http://groups.google.com/group/android-ndk (after