As I was debugging my code, I placed a break point within a method called getDate()
.
I ran my code and execution halted right on my break point, which is great.
But is there a way in Eclipse or (preferably) Android Studio to find out which method called getDate()
?
Yes there is a simple way. On Android studio it's called Frames
perspective, and it is part of the debugger perspective. When your app stops on a breakpoint you can inspect the whole chain of callers
picture is taken from here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With