Find out what line of code my app is currently running in Android Studio's debug mode
Asked Answered
P

0

11

When I'm running an app in debug mode with Android Studio, is there a way that I can find out what line of code is currently being processed? By this I mean, is there a tool that works kind of like setting a breakpoint, but you don't have to set a breakpoint - you can just find out at any point in time what line of code is being executed?

The reason for this, is that sometimes you may want to debug intermittent hangs in your app. If your running in debug mode, and your app hangs, it would be useful to immediately find out what line of code it last processed, without having to plan ahead by setting breakpoints or trace calls

Piloting answered 10/11, 2016 at 22:23 Comment(2)
Got anything on this ??Canicula
@SudhanshuGaur not yet sorry.Piloting

© 2022 - 2024 — McMap. All rights reserved.