Re: Debugging with jdb (newbie)

2001-10-02 Thread Jarek Kucypera

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

Appending slash to the path name helped. 

J.K.






Debugging with jdb (newbie)

2001-09-24 Thread Jarek Kucypera

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.java0  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.