Hi,
 
I tried using the new debugger in JDE 2.1.6 beta 10. The debugger refuse to start and I get the following error message
"Args out of range: "", -1". Here is my system configuration
 
Windows 2000 RC2
NT/Emacs 20.4.1
Sun/JDK 1.3
 
Thanks for your help
 
 
The content of my .emacs
 

;-----------------------------------------------------
; Infocom reg. J-P Dube init file
;
; Last modified: 28/09/1999
;-----------------------------------------------------
 
;--- Load path
;--------------
 

(setq load-path
                  (nconc '(
      "c:/bin/emacs-20.4.1/lisp/jde-2/lisp" 
      
                           )
                           load-path))
 
 
 

;--- Set the font lock mode
;--------------------------
(cond ((fboundp 'global-font-lock-mode)
            ;; Customize face attributes
            (setq font-lock-face-attributes
                  ;; Symbol-for-Face Foreground Background Bold Italic Underline
                  '((font-lock-comment-face       "Red")
                    (font-lock-string-face        "Salmon1")
                    (font-lock-keyword-face       "Light steel blue")
                    (font-lock-function-name-face "CadetBlue1")
                    (font-lock-variable-name-face "DeepSkyBlue2")
                    (font-lock-type-face          "SeaGreen1")
                    (font-lock-reference-face     "Purple")
                    ))
 
            ;; Load the font-lock package.
            (require 'font-lock)
            ;; Maximum colors
            (setq font-lock-maximum-decoration t)
            ;; Turn on font-lock in all modes that support it
            (global-font-lock-mode t)))
 
;--- Load the JDE
(require 'jde)
 
;(require 'java_templates)
 
;--- Define JDE debugger keys
(global-set-key [f5] (lambda () (interactive) (gud-next t)))
(global-set-key [f6] (lambda () (interactive) (gud-step t)))
(global-set-key [f8] (lambda () (interactive) (gud-cont t)))
 
(setq scroll-step 1)
(setq compilation-window-height 12)
(setq special-display-buffer-names '("*Main*"))
 
;--- Load the hscroll
;(require 'hscroll)
 
;--- Load parentheses highlight
(require 'paren)
 
;--- Set the indentation offset for java
;---------------------------------------
(defun my-jde-mode-hook ()
(setq tab-width 8  indent-tabs-mode nil)
  (set 'c-basic-offset 3)               ; set default indentation amount
  (c-set-offset 'case-label '+)
  (hscroll-mode)
)
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
 
;--- Enable python mode
;------------------------------
(setq auto-mode-alist
      (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist
      (cons '("python" . python-mode)
     interpreter-mode-alist))
(autoload 'python-mode "python-mode" "Python editing mode." t)
 

;--- Korn shell
;------------------------------
(setq w32-quote-process-args t)     ; Emacs 20
     (setq shell-command-switch "-c")
 

;--- Bash shell
;------------------------------
;(defun my-shell-setup ()
;       "For bash (cygwin 18) under Emacs 20"
;       (setq comint-scroll-show-maximum-output 'this)
;       (setq comint-completion-addsuffix t)
;       (setq comint-process-echoes t)
;       (setq comint-eol-on-send t)
;       (setq w32-quote-process-args ?\")
;       (make-variable-buffer-local 'comint-completion-addsuffix))
 
;     (setq shell-mode-hook 'my-shell-setup)
 
;     (setq process-coding-system-alist (cons '("bash" . raw-text-unix)
;                                             process-coding-system-alist))
 

;--- Set transient marking of blocks
;-----------------------------------
(transient-mark-mode t)
 
;--- Set the editor's colors
;---------------------------
(set-background-color "black")
(set-foreground-color "white")
(set-cursor-color "coral")
(set-face-background 'modeline "coral")
(set-face-foreground 'modeline "black")
 
;--- Set the column indicator
;----------------------------
(column-number-mode t)
 
;--- Set the international font
;------------------------------
(set-buffer-multibyte nil)
(standard-display-european 1)
 
;--- Set properties for speedbar
;-------------------------------
(custom-set-variables
 '(jde-compiler "/devtools/jikes/jikes")
 '(jde-run-working-directory "/softdev/sylubel/mis")
 '(jde-make-program "make")
 '(jde-run-application-class "mis.Main")
 '(jde-run-java-vm "c:/devtools/jdk1.1.8/bin/javaw")
 '(jde-build-use-make t)
 '(jde-run-java-vm-w "c:/devtools/jdk1.1.8/bin/javaw")
 '(jde-make-args "-f /softdev/sylubel/mis/Makefile"))
(custom-set-faces)
 
 
 
 
 
 
 
 
 

 
 
 

Reply via email to