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 Simple Android App Testing and Debugging Using the Debugger

Like ^^^^ the debugger does not work anymore!

Like ^^^^ the debugger does not work anymore!

Raphael Okure
Raphael Okure
2,600 Points

The debugger still works. You didn't really ask a question, but here are some hiccups I ran into when first learning:

  • Make sure you ran the app in 'debug' mode by clicking the 'bug' icon, or (mac) ctrl + D, or none of your breakpoints will be triggered.
  • When setting a breakpoint, pay attention to the icon inside the red circle. There should either be a checkmark or a little 'x' in it (hover over each icon to find out why): if there's neither, and your app is running, you probably aren't in debug mode.
  • If your app is running and your breakpoints aren't getting hit, try going to Run > Attach Debugger to Android process, and select your app from the dialog that follows.

Hope this helps!