On Mon, 11 Sep 2000, Lea Anthony wrote:

> Sorry for the newbie questions...
> 
> 1. When I run the debugger (JDEbug) it asks me for the path to my source
> files. I've set a variable to point to my source directories but it
> doesn't seem to work. Any idea?

you need to set the value of jde-db-source-directories...try M-h v
jde-db-source-directories, then click on 'customize'

> 
> 2. Is it possible to hide the full path of an object in the variable
> window (The names are quite long!!).
no idea..

> 
> 3. Is it possible to reconfigure the keys so that I can use the F-keys
> to Step in, step over ETC?

here's an excerpt from my .emacs file...pardon my quick 'n' dirty, hacked
up elisp (suggestions are welcome :-), but this works for me..this is set
up to emulate the M$ Visual $tudio function keys for debugging...

(require 'jde)
(defun my-jde-mode-hook ()
  "executes startup commands when jdb is started"
  (message "***jde starting up!***")
  (defun my-gud-step-up ()
  "step up"
  (interactive "*")
  (gud-basic-call "step up"))
  (defun my-gud-quit ()
    "quit debugger"
    (interactive "*")
    (gud-basic-call "quit"))
  (defun my-jde-db ()
    "start debugger"
    (interactive "*")
    (jde-db)
    (gud-basic-call "run"))
  (global-set-key (quote [S-f11]) (quote my-gud-step-up))
  (global-set-key (quote [C-f5]) (quote my-jde-db))
  (global-set-key (quote [S-f5]) (quote my-gud-quit))
  (global-set-key (quote [f11]) (quote gud-step))
  (global-set-key (quote [f10]) (quote gud-next))
  (global-set-key (quote [f5]) (quote gud-cont))
)
(add-hook 'jde-mode-hook 'my-jde-mode-hook)

> Thanks in advance!
> 
> -Lea.
> 
hope that helps, 

regards, PB>>
_____________________________________________________
 Peter Brown                  Senior Staff Programmer
 Dept. of Computer Science        140 Governors Drive
 University of Massachusetts   Amherst, MA 01003-4610
 Phone: (413) 577-2505            Fax: (413) 545-1249
 [EMAIL PROTECTED]  http://www.cs.umass.edu/~pbrown
-----------------------------------------------------


Reply via email to