I'm trying to debug with jdb and something goes
wrong with source tracking. I've created a simple
one file project in /dziela/java consisting of
of one class in foo.java. Whenever I start debugging,
debugger hits at the first line of foo.main, but
it tries to show the contents of ... javafoo.java.
Here is what I see in my xemacs:

buffer *buffer list*:

MR Buffer           Size  Mode         File
 -- ------           ----  ----         ----
 .  javafoo.java        0  JDE         /dziela/javafoo.java       <- ???
 *% *debugfoo*        271  Debugger
 *  *jde-log*        1698  Fundamental
    foo.java          175  JDE         /dziela/java/foo.java
    *scratch*         197  Lisp Interaction
 * "*Buffer List*"    327  Fundamental

buffer *debugfoo*:

cd /dziela/java/
jdb -classic foo

Initializing jdb...
> Deferring breakpoint foo.main.
It will be set after the class is loaded.
> run foo
>
VM Started: Set deferred breakpoint foo.main

Breakpoint hit: thread="main", foo.main(), line=6, bci=0
  6     int i = 1;

  main[1]

buffer javafoo.java: empty, contains just '=>' sign



I have set up jdb as my debugger and source directories for
debugger to '/dziela/java'.

What is wrong ?


My config:
RedHat 7.1
jdk1.3.1_01
elib-1.0
eieio-0.16
jde-2.2.8
semantic-1.4beta5
speedbar-0.13a
xemacs-21.1.14 


J.K.

Reply via email to