1

When I use debug mode and evaluate some value about 5 to 10 seconds, the app crash.

This looks like an ANR error.

Shouldn't the thread be suspended when using debug mode?

How to solve it?

enter image description here

GHH
  • 1,713
  • 1
  • 8
  • 21

1 Answers1

0

I solved this issue thanks to this comment https://stackoverflow.com/a/37442098/2021570

In my case it was a problem with breakpoint configuration. My default configuration was "Suspend :Thread" and when I switched to "Suspend: All" it started working.