Hi

There is a problem with JDebug on Xemacs (at least under Cygwin).
I do not get the JDebug menu even if I customize jde-db-debugger:

   '(jde-db-debugger (quote ("JDEbug" "jdb" . "Executable")))

Trying to start the debugger with the command jde-bug-start-debugger
gives

    Symbol's value as variable is void: system-name

Because system-name is not a declared variable under Xemacs.
The following patch fixes this:

D:\usr\local\lib\xemacs\site-packages\lisp\jde>diff jde-dbs.el~ jde-dbs.el
1397c1397
<      system-name
---
>      (system-name)

Now the debugger starts up.
Setting a breakpoint in the source buffer works. Debugging the application with
C-c C-v C-d now gives:


   Lisp error: (void-function jde-bug-install-jdebug-menu)

This function is not defined at all. I think the problem here is, because
the JDebug menu is not installed under Xemacs, jde tries to call this function.


When uncommenting the offending line, debugging works.

Ciao
  Volker

Reply via email to