Hi!

I have experienced some strange behavoiur while using JDebug, have
anyone else experienced the same things (i.e. are these things already
reported as bugs?)?

I'm using JDE-2.6.b21 on Solaris 2.6, JDK 1.2.2, GNU-Emacs 20.5.

First a question about the semantics related to "step into" and "step
over". If I have code like this

Foo  foo = new Foo(bar, gazonk);

What sequence of "step into" and "step over" should I use to reach the
constructor of Foo without first visiting the base class of Foo or the
class loader? Or is the easiest way simply to put a break point in Foo's
constructor?

OK. Now for the features/bugs

* I had set breakpoints in several classes located in individual files.
After the debugsession was over I removed some of the break points and
started over. The break points were removed via the JDebug menu. The
problem was that this did not propagate fully, so those break points
still existed, but were not visible in the buffer. The breakpoints can't
be removed, even if I restart the debugger.

* After makeing some changes to the code (resulting in new lines beeing
added) and recompilation, the debugger still thought that a break point
was on line n, when it actually was on line n+2 (i.e. I had added 2 new
lines above the breakpoint).

* I started my debug session in the buffer Foo.java which then took me
to Bar.java. I got an exception which was printed to stdout, so I
selected JDebug -> Show Buffer -> CLI. Then the buffer arrengement
reverted back so I was in the Foo.java buffer again with the correct CLI
buffer.

* When I single step with "step over" and an exception ocurrs, I am
immediatly transfered to the apropriate catch clause, which might be
very far from the method I am in. I think JDebug should let me inspect
the values of all local variables before moving out of scope...


/John

-- 
LM/ERA/LVA/KD John Olsson  mailto:[EMAIL PROTECTED] 
   Ericsson Radio Systems AB, Box 1248, S-581 12 Linkoping
-------------------------------------------------------------
  Phone: +46 13 321070   ECN: 868 1070   Fax: +46 13 287370
-------------------------------------------------------------
I was doing object-oriented assembly when I was 1 year old...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to