print all stacktrace and not only the last
This commit is contained in:
parent
34f750398e
commit
00d4f02473
@ -209,7 +209,9 @@ Java.perform(function() {
|
||||
send('[' + i + '] ' + ret);
|
||||
// raising an exception to get stacktrace
|
||||
Java.perform(function() {
|
||||
send('[*] ' + Java.use('java.lang.Exception').$new().getStackTrace().toString().split(',')[1]);
|
||||
Java.use('java.lang.Exception').$new().getStackTrace().toString().split(',').forEach(function(l) {
|
||||
console.log('\t[*] ' + l);
|
||||
});
|
||||
});
|
||||
}
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user