About 8 months ago I had this same problem and was only able to fix it after
I *removed* service pack one (SP2 hadn't come out yet).  I could reproduce
it on multiple machines. I reported it to Sun who sent me back a trite
message that they couldn't reproduce it so they just closed it.  However,
about 2 months ago I got another message that they had a fix in the latest
version of JRE (some sort of beta: 1.3.1 perhaps) and that I should give it
a try.  However,  I have not done Java programming lately so I didn't have a
chance to try it out so YMMV.

-Brian

-----Original Message-----
From: Douglas WF Acheson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 12:36 PM
To: [EMAIL PROTECTED]
Subject: RE: JDE Windows 2000 Help please



--- "MacEachern, Tim" <[EMAIL PROTECTED]> wrote:
> Looks like it never reaches your breakpoint.  Try enclosing the whole
> "main" function in a 
> try {...} catch (Throwable t) { System.out.println(t);}
> block.  This will pick up missing Java classes. Then you can set
> an additional breakpoint on the println line as well.
> 
> Best of luck
> Tim MacEachern
> 
> 

Hello,

  Thanks for the reply again.  I tried what you asked and again it will
not stop at the breakpoints.  It just runs to the end successfully. 
Thanks for all your help.  The program is simple

package ca.dwfa;

public class A
{
  private String name = "blah" ;
  private int    age  = 10 ;

  public void displayInfo()
  {
    System.out.println(name + " : " + age) ;
  }

  public static void main(String args[])
  {
    try
    {
      A a = new A() ;
      a.displayInfo() ;
    }
    catch(Throwable t)
    {
      System.out.println(t) ;
    }
  }
}


=====
Douglas WF Acheson

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Reply via email to