Even thought I tryed “Select debugging app” on Android, I still get ANR after some seconds within breakpoint while USB debugging. Once ANR, the app just closes like nothing and can’t do anything about it. Output lines right at the moment the app closes:
[libc] Requested dump for pid 22650 (com.companyname.appname)
[Looper] dumpMergedQueue
[OplusLooperMsgDispatcher] dumpMsgWhenAnr
A workaround is to debug in the simulator, but if I need to test the camera I am in trouble because I tryed to use the camera simulator and many things just didn’t work. Tryed adding image in the simulator wall and table, it didn’t work. Tryed to move the protagonist, or change the sight angle, it didn’t work. Tryed some research in the emulator options and google, and found no answer so I just gave up with that. To not get ANR within the breakpoints in USB debugging, would be ideal.
Debugging on Visual Studio 17.10.1 with Android 14 device.