Ok, I have dowloaded the latest JDEE from SVN repository, and I have patched jde-jdb.el (attached) as follows:
(defmethod initialize-instance ((this jde-db-jdb-1-6) &rest fields)
"Constructor for jdb-1.6."
(call-next-method)
;; Regular expression used to find a jdb breakpoint position marker.
;; The regular expression has two subexpressions. The first matches
;; the name of the class in which the breakpoint occurs; the second, the
;; line number at which the breakpoint occurs."
(oset (oref this bp-listener)
:marker-regexp
"^.*: \"thread=.*\", \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(),
line=\\([0-9\00A0]*\\)"))
(defun jde-jdb-get-jdb ()
"Gets the version of jdb specified for the
current project."
(let (jdb)
(cond
((string= (car jde-debugger) "jdb")
(cond
((and (< (jde-java-major-version) 2)
(< (jde-java-minor-version) 2))
(setq jdb (jde-db-jdb-1-1 "jdb 1.1")))
((and (< (jde-java-major-version) 2)
(= (jde-java-minor-version) 3))
(setq jdb (jde-db-jdb-1-3 "jdb 1.3")))
((and (< (jde-java-major-version) 2)
(= (jde-java-minor-version) 4))
(setq jdb (jde-db-jdb-1-4 "jdb 1.4")))
(t
(setq jdb (jde-db-jdb-1-6 "jdb 1.6")))))
((string= (car jde-debugger) "old jdb")
(if (and (< (jde-java-major-version) 2)
(< (jde-java-minor-version) 2))
(setq jdb (jde-db-jdb-1-1 "jdb 1.1"))
(setq jdb (jde-db-old-jdb "old jdb"))))
(t
(error "%s is not a valid jdb debugger choice."
(car jde-debugger))))
(oset
jdb
:path (jde-get-jdk-prog (oref jdb :exec-name)))
jdb))
But now I has in another trouble, I am getting a Beanshell startup error
seemingly because the java files are not compiled.
error in process sentinel: eieio-default-superclass: Unbound slot: "#<class
jde-db-jdb-1-6>", "#<jde-db-jdb-1-6 jdb 1.6>", process, oref
error in process sentinel: Unbound slot: "#<class jde-db-jdb-1-6>",
"#<jde-db-jdb-1-6 jdb 1.6>", process, oref
Beanshell expression evaluation error.
Expression:
jde.util.JdeUtilities.classExists("jpicedt.graphic.model.PicMultiCurve");
Error: // Error: EvalError: Class or variable not found:
jde.util.JdeUtilities : at Line: 5 : in file: <unknown file> : jde .util
.JdeUtilities .classExists ( "jpicedt.graphic.model.PicMultiCurve" )
[2 times]
error in process filter: Beanshell eval error. See messages buffer for details.
[2 times]
Any help is welcome !!
Vincent.
_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx
jde-jdb.el.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------
_______________________________________________ jdee-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdee-users
