C
Chrisie
I am currently experimenting with policies and permissions in Java and
I am trying to generate a stack trace that will give me information
not only about the names of the methods that were called but also
about the CodeSource each method comes from and the certificates and
permissions it has. Is there a way to do that? I have tried using
Thread.dumpStack()
or
Throwable t=new Throwable();
t.printStackTrace();
but I haven't been able to find the information I want.
Furthermore, is there a way to get a stack trace from inside a library
method that I am using since I can't add a printStackTrace in there?
I am trying to generate a stack trace that will give me information
not only about the names of the methods that were called but also
about the CodeSource each method comes from and the certificates and
permissions it has. Is there a way to do that? I have tried using
Thread.dumpStack()
or
Throwable t=new Throwable();
t.printStackTrace();
but I haven't been able to find the information I want.
Furthermore, is there a way to get a stack trace from inside a library
method that I am using since I can't add a printStackTrace in there?