Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an interactive Dice Roller app: Android Basics with Compose #181

Open
bradymcnellis opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@bradymcnellis
Copy link

URL of codelab

In which task and step of the codelab can this issue be found?
Use the Step Into Button

Describe the problem
Steps instruct reader to add a breakpoint on the DiceRollerApp() line that is within the setContent function of MainActivity. However, it seems that anything within setContent doesn't get the little green checkmark within the red breakpoint dot and does not get stopped at when moving through the program in debug mode. I don't know if this is an issue with Android Studio or something else, but the tutorial cannot currently be followed due to this issue.

This was also happening on my previous version of Android Studio, 2024.2.2

Steps to reproduce?

  1. Create DiceRoller app according to tutorial, or download the code from github.
  2. Follow instructions in the "Use the Debugger" section of the "User the Debugger In Android Studio" tutorial.
  3. When you click in the gutter to add a breakpoint next to DiceRollerApp(), no green tickmark will occur and the debugger will not stop at this breakpoint.

Versions
Android Studio version: 2024.3.1 RC1
API version of the emulator: 35

Additional information
Screenshot showing how breakpoints are not valid inside of setContent.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant