Reputation: 5087
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
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