Breakpoints don't work

Sometimes breakpoints don’t work. I managed to solve the problem by reinstalling the app on Android and re-enabling the developer mode. But now it won’t go. I don’t know why does it happen

My console:
> 04/14 00:11:57: Launching ‘app’ on Xiaomi Redmi Note 8 Pro.

$ adb shell am start -n "com.example.generator/com.example.generator.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.example.generator.test | com.example.generator
Connecting to com.example.generator
Waiting for application to start debug server
Waiting for application to come online: com.example.generator.test | com.example.generator
Connecting to com.example.generator
Connected to the target VM, address: 'localhost:8601', transport: 'socket'
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
W/main: type=1400 audit(0.0:10059370): avc: denied { dac_read_search } for capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0
I/chatty: uid=10345(u0_a345) com.example.generator identical 2 lines
W/main: type=1400 audit(0.0:10059373): avc: denied { dac_read_search } for capability=2 scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=capability permissive=0
I/ample.generato: Late-enabling -Xcheck:jni
E/libc: Access denied finding property "persist.vendor.sys.activitylog"
W/re-initialized>: type=1400 audit(0.0:10059374): avc: denied { read } for name="u:object_r:mtk_amslog_prop:s0" dev="tmpfs" ino=14104 scontext=u:r:untrusted_app:s0:c136,c257,c512,c768 tcontext=u:object_r:mtk_amslog_prop:s0 tclass=file permissive=0
W/ActivityThread: Application com.example.generator is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/System.out: Debugger has connected
    waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/chatty: uid=10392(com.example.generator) identical 1 line
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1384)
W/ample.generato: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection)
W/ample.generato: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection)
W/Activity: Slow Operation: Activity com.example.generator/.MainActivity onCreate took 2569ms
I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@d3a2aec
D/ViewRootImpl[MainActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@de5d0bb, this = DecorView@c1509d8[MainActivity]
W/Looper: Slow Looper main: Activity com.example.generator/.MainActivity is 2696ms late (wall=2644ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.LaunchActivityItem] lifecycleRequest=android.app.servertransaction.ResumeActivityItem }) because of 2 msg, msg 2 took 2694ms (late=4ms h=android.app.ActivityThread$H w=110)
I/Choreographer: Skipped 118 frames!  The application may be doing too much work on its main thread.
D/View: [ANR Warning]onMeasure time too long, this =androidx.constraintlayout.widget.ConstraintLayout{d0971fe V.E...... ......ID 0,0-0,0}time =456 ms
D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.ContentFrameLayout{6351d5f V.E...... ......ID 0,0-0,0 #1020002 android:id/content}time =457 ms
D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.FitWindowsLinearLayout{a0aa3ac V.E...... ......ID 0,0-0,0 #7f080013 app:id/action_bar_root}time =459 ms
D/View: [ANR Warning]onMeasure time too long, this =android.widget.FrameLayout{76e4875 V.E...... ......ID 0,0-0,0}time =460 ms
D/View: [ANR Warning]onMeasure time too long, this =android.widget.LinearLayout{386b00a V.E...... ......ID 0,0-0,0}time =461 ms
D/View: [ANR Warning]onMeasure time too long, this =DecorView@c1509d8[MainActivity]time =464 ms
D/Surface: Surface::allocateBuffers(this=0x7ea5516000)
I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
    android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
I/mali: [DebugProp] GPU Debug-Mechanism Disable !
I/GED: [GT]_get_procNameprocess pid(7078)
    [GT]_getprocess name(com.example.generator)
I/mali: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
D/Surface: Surface::connect(this=0x7ea5516000,api=1)
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
I/libEGL: [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1)
D/View: [ANR Warning]onMeasure time too long, this =androidx.constraintlayout.widget.ConstraintLayout{d0971fe V.E...... ......ID 0,0-0,0}time =413 ms
D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.ContentFrameLayout{6351d5f V.E...... ......ID 0,0-0,0 #1020002 android:id/content}time =414 ms
D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.FitWindowsLinearLayout{a0aa3ac V.E...... ......ID 0,0-0,0 #7f080013 app:id/action_bar_root}time =416 ms
    [ANR Warning]onMeasure time too long, this =android.widget.FrameLayout{76e4875 V.E...... ......ID 0,0-0,0}time =417 ms
D/View: [ANR Warning]onMeasure time too long, this =android.widget.LinearLayout{386b00a V.E...... ......ID 0,0-0,0}time =418 ms
D/View: [ANR Warning]onMeasure time too long, this =DecorView@c1509d8[MainActivity]time =420 ms
W/Looper: Slow Looper main: doFrame is 1977ms late because of 11 msg, msg 1 took 2644ms (late=2696ms h=android.app.ActivityThread$H w=159)
I/Choreographer: Skipped 61 frames!  The application may be doing too much work on its main thread.
E/gralloc: Arm Module v1.0
E/ion: ioctl c0044901 failed with code -1: Invalid argument
I/OpenGLRenderer: Davey! duration=1190ms; Flags=0, IntendedVsync=1784931898464206, Vsync=1784932913608150, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1784932929015236, AnimationStart=1784932929110313, PerformTraversalsStart=1784932929758928, DrawStart=1784933000484236, SyncQueued=1784933063892851, SyncStart=1784933064053774, IssueDrawCommandsStart=1784933064134928, SwapBuffers=1784933086537697, FrameCompleted=1784933088836236, DequeueBufferDuration=1980000, QueueBufferDuration=209000, 
W/Looper: Slow Looper main: doFrame is 1029ms late because of 5 msg, msg 1 took 1035ms (late=1977ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
I/ample.generato: ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000