Android Studio's debugger not stopping at breakpoints within library modules

前端 未结 7 1307
难免孤独
难免孤独 2020-12-03 00:27

At the moment I\'m developing an Android app that is based on third party code. I started to set breakpoints for understanding the code and soon ran into a problem. Suddenly

7条回答
  •  借酒劲吻你
    2020-12-03 00:57

    I had a problem with trying to debug Kotlin code. The debugger wasn't stoping at any of the breakpoints. It turns out it was an issue with Instant run. I removed all the build directories from my project then I uninstalled the app after that I disabled Instant run.

    To disable Instant run go to File > Settings > Build, execution, deployment > Instant run > Uncheck Enable Instant Run

提交回复
热议问题