I want to set breakpoints in UI thread and Background thread. I put a breakpoint at the start of run()
method in Background Thread and another break point at variable in UI thread, I want to examine. I set break point property to suspend all. Once I hit the break point at run() method in background thread, I am stepping over the code line by line. But I am unable to go to the UI thread by doing this.
Can some one explain how to examine values in both threads at the same time?
I am using Android Studio.