I am using eclipse to run some android/java code in my device. Sometimes the code seems to be stuck in a loop. And sometimes it works. I was wondering, is there a way in eclipse where I can tell it to show my what is the current running? Or even last method called? I want to know where this “code stuck” is so I can fix it. Stepping in won’t help as I need the code to run without stoppage for this to reproduce
Please help
Run the app with eclipse debugger connected. When it got stuck click the suspend (“pause”) button. Maybe you have to do some single-steps to jump out of some lib call and get to your code. In debug perspective you can see the call trace which tells you the function you’re in.