Android Studio threaded debugging

前端 未结 2 1099
感情败类
感情败类 2020-12-13 17:24

I\'ve been having trouble debugging a multithreaded app with Android Studio 1.1. It seems as if when a breakpoint is hit all other threads also stop, not just the one with t

2条回答
  •  误落风尘
    2020-12-13 17:56

    In IntelliJ IDEA (and Android Studio is based on IntelliJ), when you place a breakpoint, if you do right click over it a dialog is displayed and you can select whether to pause all threads (the default) or only that thread.

    You are pausing all the threads as it is the default setting.

提交回复
热议问题