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 trial

Android Android Lists and Adapters (2015) Updating the Data Model From JSONArray to a Java Array

chandrashekhar singh
chandrashekhar singh
507 Points

"Frame is not available" it is showing when i debugging.I need help

"Frame is not available" it is showing when i debugging.I need help

1 Answer

When you get the message "frames not available" it means that no more frames are available for debugging. The frames are part of Android Studio's debugging which gives you access to the list of threads running in your application. It is the long list of processes you see in the debugging window. So what is happening is that Android Studio loses knowledge of the threads it had when you set the breakpoint. This might be happening in your case because by default when you set a breakpoint, it stops execution of all threads which is affecting code that needs those threads to still be running. An example scenario is where you set a breakpoint at a place before a background thread has finished. You can try two things to get it to work. First, try and right click on the breakpoint and change the breakpoint from pausing all threads to just that thread. Or, shift your breakpoint further down and see if it works.