At 10:26 AM 8/25/99 -0400, Jim Apple wrote:
>>
>> As explained in the release notes, you have to tell JDE to use
>> JDEBug.
>
>I have set the variable, but with beta7 and xemacs 20.3 I still do not get
>the JDebug menu.
>
Yes, this is a bug in the XEmacs version of the JDE. (Note: I do not use
XEmacs myself, so full XEmacs support for any new feature often lags behind
FSF Emacs.) When I wrote the code for the JDEBut menu some months ago, I
made a note to myself to provide code for inserting the menu in the XEmacs
menubar and then promptly forgot about it. The next release will contain a
fix for this bug.
Meanwhile, in jde-bug.el, replacing the current definition of
jde-bug-install-jdebug-menu with the following.
(defun jde-bug-install-jdebug-menu ()
"Installs the jdebug menu in the current Java source buffer
if the user has selected jdebug as the debugger for the current
project."
(if (and
(or
(not jde-xemacsp)
(featurep 'infodock))
(string= (car jde-db-debugger) "jdebug"))
(progn
(use-local-map (nconc (make-sparse-keymap "JDEBug") (current-local-map)))
(easy-menu-do-define 'jde-bug-menu1
(current-local-map)
"Debug menu for JDE."
jde-bug-menu))
(if (and
(not (featurep 'infodock))
(not (memq 'infodock c-emacs-features))
(boundp 'current-menubar)
current-menubar)
(if (fboundp 'add-submenu)
(add-submenu nil jde-bug-menu)
(add-menu nil "JDEBug" (cdr jde-bug-menu))))))
- Paul