Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNaivedya Bansal
5,483 PointsI did not get the use of the step into button.
Please explain the meaningg of stepping into the current function.
1 Answer
Josh Gold
12,207 PointsIf you are using Android Studio, this might help: https://developer.android.com/tools/debugging/debugging-studio.html
Debug your app with breakpoints
After you set breakpoints in your code, click Rerun to start the app again. When a breakpoint is hit, Android Studio pauses the app and highlights the breakpoint in the source code. The Debug tool window lets you examine variables and control the execution step by step:
To examine the object tree for a variable, expand it in the Variables view. If the Variables view is not visible, click Restore Variables View . To evaluate an expression at the current execution point, click Evaluate Expression . To advance to the next line in the code (without entering a method), click Step Over . To advance to the first line inside a method call, click Step Into . To advance to the next line outside the current method, click Step Out . To continue running the app normally, click Resume Program
Naivedya Bansal
5,483 PointsNaivedya Bansal
5,483 Points*meaning