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 trialmohamadreza azadi
5,167 PointsDebugg problem
When i debugg , i am grtting Fram is not available.How can i fix this problem
in 3:49 in this video ben debugg it and show his data when i debugg that side does'nt show anything and my android version is 2.3.3 plz help me
1 Answer
Steve Hunter
57,712 PointsOK - I've replicated this error. The "Frames are not available" happens when the debugger detaches, usually because your app has crashed behind the scenes.
I suggest you select the Android Monitor tab, usually along the bottom gutter of the Android Studio window. The error should show up in there.
You may find that running a Build -> Clean Project may allow the debugger attach to your app, so give that a go too. Once the app is running the debugger should attach. This then shows in the window where the error currently shows up.
Let me know how you get on.
Steve.
mohamadreza azadi
5,167 Pointsworks thanks steve. always true answers from steve :)
Steve Hunter
57,712 PointsNo problem!
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsDoes your application run in normal mode, i.e. not using the debugger? Or does it crash. If it crashes, try to find the error messages in the Logcat and post them here.
If it runs, then you need to check you've put a breakpoint in your code at the same place Ben has. Does the app pause at the correct moment? If not, does it throw an error? What is the error?