On Windoze2K I found I had this problem if my jde-db-source-directories
probably didn't have a "\" at the end of the source path.  

So try putting a "/" at then end of your path:
"/home/john/projects/lilcache/src".

--george


> -----Original Message-----
> From: John Quigley [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 1:10 AM
> To: [EMAIL PROTECTED]
> Subject: problem with source code window when debugging with JDE/JDB
> 
> 
> Hi anyone/everyone,
> 
> I'm having a problem getting jde to display the Source file 
> correctly when 
> I'm debugging with JDB.  When I do C-c C-v C-d, the debugger 
> seems to start 
> fine, but it opens a buffer source window called "srcMain.java".  (My 
> application main class is called Main.java, and it is located 
> in a "src" 
> subdirectory).  This causes emacs to load a new buffer, since 
> no such file 
> exists, and draw the "=>" debugging arrow at the top of this 
> new empty 
> buffer.  
> 
> If this turns out to be a newbie or RTFM question, sorry!  
> I'll flog myself.
> 
> Here's the output of my debugger window:
> 
> cd /home/john/projects/lilcache
> jdb -classpath /home/john/projects/lilcache/classes Main
> 
> Initializing jdb...
> > Deferring breakpoint Main.main.
> It will be set after the class is loaded.
> > run Main
> 
> VM Started: > Set deferred breakpoint Main.main
> 
> Breakpoint hit: thread="main", Main.main(), line=7, bci=0
> 
> main[1] 
> 
> Here's my prj.el file:
> 
> (jde-project-file-version "1.0")
> (jde-set-variables
>  '(jde-db-source-directories (quote 
> ("/home/john/projects/lilcache/src")))
>  '(jde-build-use-make t)
>  '(jde-compile-option-sourcepath (quote 
> ("/home/john/projects/lilcache/src")))
>  '(jde-compile-option-directory 
> "/home/john/projects/lilcache/classes")
>  '(jde-global-classpath (quote 
> ("/home/john/projects/lilcache/classes")))
>  '(jde-run-application-class "Main")
>  '(jde-make-program "ant")
>  '(jde-run-working-directory "/home/john/projects/lilcache"))
> 
> And here's my system setup:
> 
> Linux 2.4.4
> Redhat 7.1
> XEmacs 21.4
> IBM VM (IBMJava2-13, Classic VM (build 1.3.0, J2RE 1.3.0 IBM 
> build                                 
> cx130-20010502 (JIT enabled: jitc))
> 
> eieio-0.16
> elib-1.0
> jde-2.2.7.1
> semantic-1.4beta6
> speedbar-0.13
> 

Reply via email to