I am working on one hang issue.
One S40 device got struck when playing a flashlite file. Issue is not getting reproducible on simulator.
File is playing and Flashlite logs are going in correct path and after one point phones gets hung and no logs are coming .Phone is not reacting to any keys.

Want to check in hang case, which task is being executed and if possible is there any way to make the phone get force reset, so that we can check the reset log and see who is the culprit and what he is doing.

Pls let me know how to do CPU profiling. So that we can know which task is presently executing.

Many thanks in advance.