folks,

I am having problems configuring and running JDEbug.

I am trying to debug an application that is using rmi with client and
server. I am trying to attach to a running application. I am
experienceing two problems. 

When I enter into a Java file, unless I do a cutomise-varible and set
jde-db-debugger the JDEbug never shows up on my menu bar. I do not get
any errors when emacs start up from my .emacs file, but I have to set
the jde-db-debugger then I get this error ->
jde-bug-jpda-directory variable is not set.

BUT it is set in my .emacs.. I don't understand, it is like
(custom-set-variables section of my .emacs does not get read,
jde-bug-jpda-directory is set.


Runing rh 6.1, emacs 20.7.1, built on my system.

Here is my section in my .emacs ->

;; Added from JDE BUG
(custom-set-variables
 '(jde-compile-option-command-line-args "-d
/home/kthiele/public_html/myclasses")
 '(jde-bug-jre-home "/usr/local/jdk1.2.2/jre")
 '(jde-bug-server-socket (quote (t . "8000")))
 '(jde-gen-k&r t)
 '(jde-bug-jdk-directory "/usr/local/jdk1.2.2/lib")
 '(jde-db-source-directories (quote ("/usr/local/jdk1.2.2/src")))
 '(jde-db-debugger (quote ("JDEbug" "jdb" . "Executable")))
 '(jde-global-classpath nil)
 '(jde-enable-abbrev-mode t)
 '(jde-bug-jpda-directory "/usr/local/jdk1.2.2"))
(custom-set-faces)


Second Problem. After setting up my running process: here is the cmd
line.
->
java -green -Djava.compiler=NONE
-Xbootclasspath:/usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/jre/lib/rt.jar
-Djava.rmi.server.codebase=file:/home/kthiele/public_html/myclasses
-Djava.security.policy=file:/home/kthiele/public_html/myclasses/policy
-debug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
examples.hello.HelloImpl

I attach, set a break, try to step , Then I get this error..
I was able from menu hit continue and it ran, but the next time I ran
the client the server exited, without error....

Just running the jdb by hand I have none of these problems. I must be
doing something wrong or I must have something configured wrong??

Any help will be greatly appreciated.


debug window ->
Running 8000.
Breakpoint hit at line 54 in examples.hello.HelloImpl (HelloImpl.java)
on thread RMI TCP Connection(24)-208.19.33.62. All threads suspended.
Stepped to line 55 in examples.hello.HelloImpl (HelloImpl.java) on
thread RMI TCP Connection(24)-208.19.33.62. All threads suspended.
Error: evaluating debugger output caused a Lisp error.
  See *messages* buffer for details.


*messages* buffer ->

(list 8 "java.lang.Thread" "Thread.java" 479 "run"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "examples.hello.HelloImpl" "HelloImpl.java" 54) nil nil)).
Lisp error: (error Command attempted to use minibuffer while in
minibuffer)
begin:vcard 
n:Thiele;Karl
tel;cell:919-225-1192
tel;fax:919-678-1028
tel;work:919-678-1050 x202
x-mozilla-html:TRUE
org:Alcatel Internetworking
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principle Engineer
adr;quoted-printable:;;Suite 350,=0D=0A6501 Weston Parkway;Cary;North Carolina;27513;USA
x-mozilla-cpt:;-17024
fn:Karl Thiele
end:vcard

Reply via email to