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

[kotlin][debugger] Remove bytecode inspection for coroutine method switch check #2842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 2, 2024

  1. [kotlin] Remove bytecode inspection for coroutine method switch check

    When checking if a suspend method has a state machine, the debugger inspected bytecode trying to find an instruction like `getfield com/example/MainKt$foo$1.label:I`. This approach didn't work in Android Studio, which resulted in a stepping difference between IDEs. This commit introduces a simpler way of detecting if a state machine is generated for a suspend function.
    nikita-nazarov committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    7a2f6e1 View commit details
    Browse the repository at this point in the history