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 Build a Weather App (2015) Working with JSON Setting CurrentWeather from JSON

Louis Sankey
Louis Sankey
22,595 Points

I'm having a problem with android debug mode

I set the breakpoint like it shows in the video. I run the app in debug mode. When the app pops up in the emulator the same thing happens as in the video. A dialog says waiting for debugger and then goes away . But in the debug console at the bottom under Frames it says "Frames are unavailable" and under Variables all I see is a little blue exclamation point followed by the text "Connected to the target VM, address: 'localhost:8607', transport: 'socket'"

I cannot 'step over' or execute any of the other debug actions. Has anyone encountered this or does anyone know what I'm doing wrong? Thanks, L

2 Answers

Javier Alvarado
Javier Alvarado
16,060 Points

I was seeing a similar error. The problem on my end was that I still had airplane mode turned on in my emulator. Turning it off and running the app in debug mode fixed it for me. Hopefully that helps.

Louis Sankey
Louis Sankey
22,595 Points

That was the problem, Javier. Thanks!