androidandroid-studioandroid-studio-electric-eel

Android Studio Electric eel | Debugger always stuck on "waiting for the process to finish gracefully"


Like the title says I am on Android Studio Electric eel 2022.1.1 Patch 1 and whenever I start the debugger it works for 1 or 2 breakpoints, after that the app goes to ANR, and watchers get stuck on evaluating. When stopping the debugger gets a pop with "waiting for the process to finish gracefully". I tried to invalidate the cache and clear all the breakpoints but still had no luck. The same project was working fine on AS last update.


Solution

  • I had tried to change the suspend breakpoints setting from all to Thread and the debugger was worked normally. You can make that setting to default so that you don't need to switch for every breakpoints. Here is the screenshot of the settings:

    breakpoint settings