Best Way to Include Debug Code?

后端 未结 7 1177
既然无缘
既然无缘 2020-12-24 01:43

I am programming Android applications, and the best way here may or may not be the same as Java in general.

I simply want to be able to set a debug flag that will on

相关标签:
7条回答
  • 2020-12-24 02:12
    if ( Debug.isDebuggerConnected() ) {
      // debug stuff
    }
    
    0 讨论(0)
提交回复
热议问题