Troy Noble <[EMAIL PROTECTED]> skribis:
> To summarize things I've read on the list recently... and
> tried myself.
>
> I believe the preferred method is to use JDebug instead of JDB whenever
> you have a JVM that supports JPDA (Sun's j2sdk 1.3.0 for Linux
> includes JPDA, so you already have it installed). See the JDebug
> user's guide on the JDE site regarding setting for JDebug
> (as opposed to setting up for JDB).
I would like to use JDebug, but it doesn't work as well. Probably because I
don't know where this JPDA is supposed to be, and neither does JDE.
~$ locate jpda
/usr/java/jdk1.3/demo/jpda
/usr/java/jdk1.3/demo/jpda/examples.jar
I've tried oldjdb, which perhaps does work a little, but not very well in
jde, for example I cannot see where the current position is (no arrow,
nothing) Perhaps because of this:
main[1] list
22
23
24 public class test {
25 public static void main(String[] args) {
26 => ExprCalc cl = new ExprCalc("1+2");
27 System.out.println((int)cl.getResult());
28 B b=new B();
29 b.avalue();
30 if (1 == 1) {
main[1] step
main[1]
Breakpoint hit: java.lang.ClassLoader.loadClassInternal (ClassLoader:313)
main[1] list
Unable to find ClassLoader.java
main[1]
I'm getting rather tired of java. I'm now trying to understand code by
putting println's in it.
Perhaps I'm simply too stupid but I'm already firmly associating java with
things that don't work already :-)
I'll try to redo everything, since probably I have forgotten something
somewhaer (but what and where?), perhaps this evening, and meanwhile I'll go
on with println's etc.
greetings,
Michiel
--
% Michiel Meeuwissen
% [EMAIL PROTECTED]
% http://www.purl.org/NET/mihxil/
% Vidu ankaux: http://www.uea.org/katalogo