Hi,
I have had this problem for a while and I assume that others are by it
from the few hits I find in google.
Basically, on Mandrake Linux 7.1+ using XEMACS __ JDE 2.2.7.1 IBM VM
with JDK 1.3 or Sun VM with JDK 1.3, I can not make a connection
between the debugger and the controller (xemacs with jde code).
* 20 java processses (Threads I guess) show in the ps aux command
after issuing the JDE | Debug App command. The processes show that
they have the jde.jar file as -classpath swith argument.
* netstat -l
shows java listening on the localhost at port 2xxx where xxx grows
with attemps
* ethereal shows NO traffic on lo going to this port during the 30
seconds
* telnet localhost 2xxx
gives
JDWP-Handshake
It appears that something is wrong in my configuration causing jdebug
not to try to connect to the debugger that it started.
* It can also stop the debugger (the java processes) although XEMACS
shows
(1) (error/warning) Error in process filter: (unbound-slot #<class jde-dbs-debugger>
#<jde-dbs-debugger JDEbug> comint-filter oref)
*Warnings-Show* buffer
* problem is insensitive to using 127.0.0.1 or dns name of machine.
Thanks for any pointers,
Dave
Here is the .emacs file:
=============================
;;; dgg's .emacs file
;;; Time-stamp: <01/06/16 19:07:49 dgreen>
;;; for debugging
;;; (setq debug-on-error t)
(gnuserv-start)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;;;(setq c-default-style "user")
(add-to-list 'load-path (expand-file-name "~/elisp/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/elisp/semantic"))
(add-to-list 'load-path (expand-file-name "~/elisp/speedbar"))
(add-to-list 'load-path (expand-file-name "~/elisp/elib"))
(add-to-list 'load-path (expand-file-name "~/elisp/eieio"))
(setq defer-loading-jde nil)
(require 'jde)
(custom-set-variables
'(Info-additional-search-directory-list (quote ("/usr/info/xemacs"
"/home/dgreen/elisp/gnus/texi")) t)
'(paren-mode (quote sexp) nil (paren))
'(pc-select-selection-keys-only t)
'(jde-bug-vm-includes-jpda-p t)
'(jde-bug-jdk-directory "/usr/local/jdk")
'(gpg-command-default-alist (quote ((gpg . "gpg") (gpg-2comp . "gpg"))))
'(column-number-mode t)
'(dired-refresh-automatically t)
'(gnuserv-program (concat exec-directory "/gnuserv"))
'(custom-novice nil)
'(jde-run-java-vm "java")
'(browse-url-browser-function (quote browse-url-netscape))
'(bar-cursor 2)
'(jde-jdk-doc-url "file:/usr/local/jdk/docs/index.html")
'(tab-width 4)
'(html-helper-htmldtd-version "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\"
\"http://www.w3.org/TR/REC-html40/loose.dtd\">
")
'(sc-nested-citation-p t)
'(ps-print-color-p t)
'(setq mail-user-agent t)
'(bkup-backup-directory-info (quote (("" "~/.emacs-backups" ok-create))) nil
(backup-dir))
'(jde-bug-sio-connect-delay 10)
'(jde-compile-option-command-line-args "-g")
'(line-number-mode t)
'(pc-select-meta-moves-sexps t)
'(transient-mark-mode nil)
'(html-helper-new-buffer-template (quote (html-helper-htmldtd-version "<html>
" " <head>
" " <title>" (p "Document Title: " title) "</title>
" " </head>
" "
" " <body>
" " <h1>" (s title) "</h1>
" p "
<hr>
" " <address>
" html-helper-address-string "
" " <a href=\"http://www.htmlhelp.com/cgi-bin/validate.cgi?url=referer\">.</a>
</address>
" (html-helper-return-created-string) html-helper-timestamp-start
html-helper-timestamp-end "
</body>
</html>
")))
'(jde-db-debugger (quote ("JDEbug" "" . "Executable")))
'(jde-db-source-directories (quote ("/home/dgreen/test/")))
'(user-mail-address "[EMAIL PROTECTED]" t)
'(query-user-mail-address nil)
'(indent-tabs-mode nil)
'(jde-bug-debugger-host-address "127.0.0.1")
'(pc-selection-mode t nil (pc-select)))
;;; (setq-default indent-tabs-mode nil)
(add-hook 'c-mode-common-hook
(function (lambda ()
(setq c-basic-offset 4)
(c-set-offset 'substatement-open 0)
(define-key c-mode-map "\C-x\C-n" 'what-line)
(define-key c-mode-map "\C-xg" 'goto-line)
(define-key c-mode-map "\C-x\C-e" 'compile))))
(global-set-key "\C-m" 'newline-and-indent)
(require 'filladapt)
(setq-default filladapt-mode t)
(setq language-environment "Latin-1")
;; (require 'paren)
;; (paren-set-mode 'sexp)
(defun dos-unix ()
(interactive)
(goto-char (point-min))
(while (search-forward "\r" nil t) (replace-match "")))
(defun unix-dos ()
(interactive)
(goto-char (point-min))
(while (search-forward "\n" nil t) (replace-match "\r\n")))
(load "recent-files")
(recent-files-initialize)
(custom-set-faces
'(default ((t (:background "white" :size "14pt" :family "Fixed"))) t))
(setq load-path
(cons (expand-file-name "/home/dgreen/elisp/gnus/lisp") load-path))
(require 'gnus)
(setq load-path
(cons (expand-file-name "/usr/lib/xemacs-21.1-p2/lisp") load-path))
(require 'ldap)
;;;(setq load-path
;;; (cons (expand-file-name "/home/dgreen/elisp/gnus/contrib") load-path))
;;;(require 'gpg)
;;;;;;;; From Chris...
(setq load-path
(cons (expand-file-name "/home/dgreen/elisp/mailcrypt") load-path))
(load-library "mailcrypt")
(mc-setversion "gpg")
(setq mc-passwd-timeout 600)
(setq mail-source-delete-incoming t)
(setq mml2015-use 'mailcrypt)
(setq mml-default-sign-method "pgpmime")
(setq Info-default-directory-list
(cons "/home/dgreen/elisp/gnus/texi/" Info-default-directory-list))
(require 'bbdb)
(bbdb-initialize'gnus 'message)
; enable time-stamps
(add-hook 'write-file-hooks 'time-stamp)
(setq html-helper-do-write-file-hooks t)
(require 'overlay)
(autoload 'trivial-cite "tc.el" t t)
(setq tc-gnus-nntp-header-hack t)
;;; PHP Support
(autoload 'php-mode "php-mode" "PHP editing mode" t)
(add-to-list 'auto-mode-alist '("\\.php3\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
(setq minibuffer-max-depth nil)
================ end .emacs file
--
David G. Green [EMAIL PROTECTED]
UAB Electrical and Computer Engineering Birmingham, AL USA