Is there a way to see what file is executed when a button is pressed in real-time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a way to see what file is executed when a button is pressed in real-time?

Hello, I'm using Android Studio and I was wondering if there is a way to see what file/script is executed when I press a button in the Virtual Phone. Is it even possible? I have a big project I did a long time ago and don't remember in what file the code is written. I need to find a way to show in what directory is located.

1st Jun 2018, 2:33 AM
Gadrion
Gadrion - avatar
2 Answers
+ 2
Possibly "Debug Your Layout with Layout Inspector" https://developer.android.com/studio/debug/layout-inspector Used to be called Hierarchy Viewer I think.
1st Jun 2018, 5:08 AM
Kirk Schafer
Kirk Schafer - avatar
0
use adb maybe that will help
1st Jun 2018, 2:49 AM
‎ ‏‏‎Anonymous Guy