I know it’s been a while since your post, but I have a suggestion for you or anyone in a similar situation. If you’re stuck debugging a frozen test on the emulator, I highly recommend connecting to the build machine via VNC. UI testing tools can freeze for all kinds of reasons. A couple that come to mind:
a race condition (i.e. trying to click an element before it’s rendered, then waiting for a change that will never happen)
an unexpected UI block (i.e. an alert window popping up over the next interaction element)
With VNC debugging, you want to re-run your UI test again and make sure you can watch it happen (so get rid of the -no-window flag above).