android 打印调用栈的代码

来源:互联网 发布:孰轻孰重言知知妈妈网 编辑:程序博客网 时间:2024/05/17 16:44
        RuntimeException here = new RuntimeException("here");
        here.fillInStackTrace();
        android.util.Log.w("aaaa", "------------------------------------------------------");
        android.util.Log.w("aaaa", "Called: " + this, here);

0 0