I am using jde-2.1.6beta24 and can't seem to get JDEbug to work
properly for me.  I set a breakpoint at the System.out.prinln line but
it does not stop when I "Launch Process".  I have to manually suspend.
Also, I cannot access local variables even though compiling with "-g".
Is it something like the static method problem?  I am using NTEmacs
"20.6.1".  Here are the source and the output buffers:

Buffer "Process misc.Hello(1)":
----------------------------------------
*** Debugger Output for Process misc.Hello(2) ***

Debugger waiting for Emacs to connect to app SIO port 1275.
vm started...
All threads suspended...
Emacs connected to standard IO port 1275 for process misc.Hello.
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)
Error: unable to step over.
 Reason: The specified thread is not suspended
All threads suspended.
Error: cannot evaluate "i".
 Reason: Parse error in expression. Are you accessing local variables without 
compiling with -g?.
----------------------------------------

Buffer: "*JDEbug*":
----------------------------------------
JDE> -1 6 launch 2 -vmexec javaw   misc.Hello  


(jde-dbo-message
2 "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-command-result 6 1275)


(jde-dbo-message
2 "Debugger waiting for Emacs to connect to app SIO port 1275.")


(jde-dbo-event-set
2 "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> 2 7 step over 1


(jde-dbo-command-result 7)

JDE> 2 8 step over 1


(jde-dbo-command-error 8 "The specified thread is not suspended")

JDE> 2 9 suspend


(jde-dbo-command-result 9)

JDE> 2 10 evaluate 1 0 "i"


(jde-dbo-command-error
10 "Parse error in expression. Are you accessing local variables without compiling 
with -g?")

----------------------------------------
The source code:
----------------------------------------
public class Hello {
    public static void main(String args[]) {
        int i;

        for (i = 0; i < 3000; i ++)
            System.out.println("Hello, world.");
    }
}
----------------------------------------
-- 
      Alexander G. Burchell
      [EMAIL PROTECTED]

Reply via email to