Skip to content

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

Open
@bradymcnellis

Description

@bradymcnellis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions