title: Application not responding, why doesn't ANR popup display?
body: <p>I want to <strong>test</strong> my application which is not responding. The button in the code below runs an infinite loop but the ANR popup doesn't show.</p>
  
  <pre><code>override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_main)
      Toast.makeText(this@MainActivity,"ahmet vefa saruhan",Toast.LENGTH_SHORT).show()
  }
  
  fun buttonClickec2( v : View) { //after button click
      while(true) {
          //Nothing to do, why doesn't ANR show?
      }
  }
  </code></pre>
  
  <p>Please read question carefully. The question is about the ANR popup.</p>