Hello,
I am having some difficulty debugging a simple application under
JDEbug. I am using jdk1.3.0_02, jde 2.2.6 with the correct support
libraries (elib, etc.). Even after following the instructions in the JDEbug
User's Guide, I run into the following situation - the debugger starts, I
set an initial breakpoint, then I launch the process, at which time I don't
see an indication that the breakpoint has been set (I have to toggle the
breakpoint 2 times after launching the process in order to see anything),
nor does the application run to the breakpoint which has just been set. I
am including the two output buffers which seem to be most appropriate -
please let me know if there is any other information required to help solve
this problem. Thanks in advance to all who respond...
OUTPUT OF THE Process buffer
*** Debugger Output for Process org.apache.log4j.examples.Trivial(3) ***
Launch command line:
javaw -classpath c:/Program Files/Progress_SonicMQ/lib/jms.jar;c:/Program
Files/Progress_SonicMQ/lib/broker.jar;e:/jakarta-log4j-1.1b7/dist/classes;e:
/jakarta-log4j-1.1b7/dist/classes/log4j.jar;c:/tmp -Ddebug=0
org.apache.log4j.examples.Trivial
Emacs connected to standard IO port 4243 for process
org.apache.log4j.examples.Trivial.
Launched VM Java Debug Interface (Reference Implementation) version 1.3
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.3.0 (Java HotSpot(TM) Client VM, interpreted mode)
initSIOConnect: starting standard I/O handshake.
initSIOConnect: starting SIO connect thread.
Debugger waiting for Emacs to connect to app SIO port 4243.
vm started...
All threads suspended...
Debugger connected to standard I/O socket.
OUTPUT OF THE *JDEbug* buffer
cd e:/jakarta-log4j-1.1b7/src/java/org/apache/log4j/examples/
javaw -classpath
e:/emacs-20.7/site-lisp/jde-2.2.6/java/lib/jde.jar;e:/jdk1.3.0_02/lib/tools.
jar jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 11 launch 3 -vmexec javaw -classpath c:/Program
Files/Progress_SonicMQ/lib/jms.jar;c:/Program
Files/Progress_SonicMQ/lib/broker.jar;e:/jakarta-log4j-1.1b7/dist/classes;e:
/jakarta-log4j-1.1b7/dist/classes/log4j.jar;c:/tmp -Ddebug=0
org.apache.log4j.examples.Trivial
(jde-dbo-message
3 "Launched VM Java Debug Interface (Reference Implementation) version 1.3
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.3.0 (Java HotSpot(TM) Client VM, interpreted mode)")
(jde-dbo-message 3 "initSIOConnect: starting standard I/O handshake.")
(jde-dbo-message 3 "initSIOConnect: starting SIO connect thread.")
(jde-dbo-command-result 11 4243)
(jde-dbo-message
3 "Debugger waiting for Emacs to connect to app SIO port 4243.")
(jde-dbo-event-set
3 "all"
(list "Thread" 1 "main" "unknown" "suspended by debugger"
(list)
"VM has no information"
"VM has no information")
(list 'jde-dbo-vm-start-event))
(jde-dbo-message 3 "Debugger connected to standard I/O socket.")