I have an Android logging wrapper that uses
Thread.currentThread().getStackTrace() to lookup the calling class,
line number, and method when set to full verbosity. So I can confirm
some of the standard Java calls to get the current stack work fine
anyway.

On Apr 29, 3:44 pm, Sanra <[email protected]> wrote:
> I'm trying to figure out a way to do the following in android,
> appreciate any help on this.
>
> 1. How to generate a Full Java stack trace (basically thread stack) in
> Android. In J2SE, we use something like this -  send a signal to the
> JVM; the JVM generates a stack trace for you; or we can also use
> debugging tools or Java API calls like Thread.dumpStack. What are the
> android equivalents to get the same output?
> .
> 2. How to generate a java heap dump? And are there any tools to
> analyze the heap dumps ?
>
> 3. Does thread and heap dump be generated if the Application crashes
> due to a segment violation ? Where does the core files be generated?
>
> 4. Are there any profiling APIs in android APIs that will allow to
> measure the UI performance and responsiveness (basically times taken
> to launch an activity/application and also times taken to scroll a
> list)?
>
> 5. Is there a tool similar to hprof that is available in J2SE for CPU
> usage, heap allocation statistics etc?
>
> 6. Tool on GC activities..
>
> Thanks in advance,
> Sandy
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Android Discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/android-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to