1. Java Stack Trace Logging
console.log('BackTrace : ', Java.use("android.util.Log").getStackTraceString(Java.use("java.lang.Exception").$new()));
2. Native Stack Trace Logging
console.log('BackTrace:\n' +
Thread.backtrace(this.context, Backtracer.ACCURATE)
.map(DebugSymbol.fromAddress).join('\n') + '\n');