[java] Making a stack dump
Hi,
Does anybody know how to make a full stack dump. By problem is want to prevent all exceptions from leaving a certain method.
I have made a try block / catch block like this:
try
{
..code with exceptions
}
catch (Throwable e)
{
..Dump stack
System.exit(1);
}
How do I dump the full stack? If I just call dumpStack() only the stack from where the catch is made is printed. I want the full stack from where the original exception was thrown.
Any ideas?
Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement