Re: who calls a method

2001-10-12 Thread Nelson Minar
>> Yep... this is good for dumping info to be read by humans. If you want a >> data structure usable from software, you'll need to implement a profiler >> through the JVMPI interface. > >OR maybe use those funky new JDK 1.4 APIs I noticed in the vicinity >of the new Exeption.getCause() calls and s

Re: who calls a method

2001-10-12 Thread John R MacMillan
|> Basically, if your code relies on this for its behavior, |> it's likely to break at some point. Different VMs will give |> different output anyway. | |Yep... this is good for dumping info to be read by humans. If |you want a data structure usable from software, you'll need to |implement a prof

Re: who calls a method

2001-10-12 Thread David Brownell
> Yep... this is good for dumping info to be read by humans. If you want a > data structure usable from software, you'll need to implement a profiler > through the JVMPI interface. OR maybe use those funky new JDK 1.4 APIs I noticed in the vicinity of the new Exeption.getCause() calls and stack b

Re: who calls a method

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 10:21:38AM -0700, Avi Cherry wrote: > At 8:55 AM -0700 10/12/01, Peter Graves wrote: > > > is there a possibility to find out where a method has been called? = > > > >> Something like the information given by an exception. > >> = > > > >> Thanks, > >> Rapha > > > >Thre

Re: who calls a method

2001-10-12 Thread Avi Cherry
At 8:55 AM -0700 10/12/01, Peter Graves wrote: > > is there a possibility to find out where a method has been called? = > >> Something like the information given by an exception. >> = > >> Thanks, >> Rapha > >Thread.dumpStack() Just to point out, the documentation specifically says: This met

Re: who calls a method

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 03:08:46PM +0200, Raphael Mack wrote: > Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. Are you looking for a profiling tool to generate the information, or do you want to generate the

Re: Environment

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 05:08:12PM +0200, Raphael Mack wrote: > Hello again, > > is there a way to read the system-environmentvariables with JAVA? If you mean the Unix/Linux environment - not without making JNI calls. If you can make JNI calls, the "getenv()" call will retrieve individual values

Re: who calls a method

2001-10-12 Thread Peter Graves
> Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. > > Thanks, > Rapha Thread.dumpStack() -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit

Re: who calls a method

2001-10-12 Thread Sylvain GIL
On Fri, Oct 12, 2001 at 03:08:46PM +0200, Raphael Mack wrote: > Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. In the method add a call to Thread.dumpStack(); and you'll see the calling stack. regards, -- S

Environment

2001-10-12 Thread Raphael Mack
Hello again, is there a way to read the system-environmentvariables with JAVA? Thanks a lot, Rapha -- procreo - Webseitenentwicklung und Individualsoftwarelösungen _ / __ / _/ __ / ___/ _/ / __ / procreo GbR / /_/ / / / /_/ / /__/ / / O

who calls a method

2001-10-12 Thread Raphael Mack
Hello, is there a possibility to find out where a method has been called? Something like the information given by an exception. Thanks, Rapha -- procreo - Webseitenentwicklung und Individualsoftwarelösungen _ / __ / _/ __ / ___/ _/ / __ /