How do I find out what project code called org.eclipse.core.internal.jobs.run()? I'm not interested in the possibly long line of eclipse code that called it, I want to know what was the last method in the project code that was executed that led to it being called.
An application run under Eclipse shouldn't assume that Eclipse will always be there. Indeed, if you're using Eclipse to run production processing, you're either using the non-IDE aspects of Eclipse (which few do) or you've got some serious management problems.
A child can determine what its stacktrace is by simply creating an Exception and invoking printStackTrace on it. That will run you up to the thread root. I don't know any way offhand to determine what code constructed or launched a Thread, but then again, when I need to know such things, it's always been in a context where the caller could be designed to provide that information.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
Popeye has his spinach. I have this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java