Hi there,
I am using JDE 2.1.5, emacs 20.3.1, JDK 1.2.2 on NT4.
QUESTION 1.
----------------
While I generally have no trouble setting breakpoints when debugging Java
code, sometimes I get a message similar to the following that prevents
setting breakpoints.
No code at line 1374, or class is optimized.
This is most frustrating especially when I need to stop in a method to find
out what is going on. The only other alternative is to embed print
statements to find ou what is happening. Not a very acceptable solution.
Even though I can't set a breakpoint in some methods I can step into these
methods using JDE and thus investigate the variables. When the methods are
invoked from some event though it is impossible to step through with the
debugger by any method I can determine.
So, the question is, why do I get such a warning when setting breakpoints in
some methods and is there a way to solve it.
Should I attempt with the JDE2.1.6 beta
QUESTION 2.
----------------
The Up stack (C-x C-a <) and Down stack (C-x C-a >) commands in JDE work
fine with the exception that the source file matching the stack frame
pointer is not displayed automatically. I have to manually find the file and
goto the line of interest to examine the source code. This is a bit of a
frustration.
It is possible to display variables though even though the correct source is
not automatically displayed.
So, am I doing something wrong or is this a known problem.
One other point about Up stack & Down stack, when executing Continue (C-x
C-a C-r), Step (C-x C-a C-s) or Next (C-x C-z C-n) I would expect that any
adjustment to the stack frame (for source code display) would be forgotten
and the stack frame would be reset to be at the bottom (or top depending on
your point of view I guess) so that when the next break point is reached the
stack frame pointer and source code displayed are in sync.
Presently, if you have changed the stack frame (using Up/Down stack) at a
breakpoint and then continued execution until a new breakpoint is reached,
you must manually adjust teh stack frame pointer by going "Down" the correct
number of levels so that things are in sync.
Thanking any respondents in advance,
Steve Carter