Kleptine
Kleptine

Reputation: 5087

Android App Unresponsive

The UI thread of my app locks up at indeterminate and un-reproduceable times. Can anyone suggest a tool or a mindset that I should use to debug this problem? I can't really predict when it happens, so it doesn't seem to be a problem with the code itself.

Any help?

Upvotes: 2

Views: 516

Answers (2)

dhaag23
dhaag23

Reputation: 6126

Just run it in the eclipse debugger and when it's hung/paused/locked up quickly break into the app and inspect the main thread. More often then not you'll be able to see which long running operation is being run on the main thread.

Upvotes: 1

Matthieu
Matthieu

Reputation: 16397

look for the tool called traceview.

Upvotes: 0

Related Questions