Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.