I run test like this:

    java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 test

From JDEbug/Processes/Attach Process/On Local Host, I see this:

    *** Debugger Output for Process 8000(1) ***

Attached to process on port 8000 of local host.
Attached VM (socket) Java Debug Interface (Reference Implementation) version 1.4
Java Debug Wire Protocol (Reference Implementation) version 1.4
JVM Debug Interface version 1.3
JVM version 1.4.2_04 (Java HotSpot(TM) Client VM, mixed mode)
vm started...
All threads suspended...
Setting breakpoint at line 6 in c:/cygwin/usr/local/bin/java/test.java.
Setting breakpoint at line 6 in c:\cygwin\usr\local\bin\java\test.java.


However, the background of line 6 remains green and the "Local Variables" buffer is empty.

Any idea what I'm doing wrong? Everything works fine if I launch test from JDEE (C-c C-v C-d).

-- Ed
public class test {
    public static void main(String[] args) {

        String foo = "Hello world.";

        System.out.println(foo);

    }
}
(jde-project-file-version "1.0")
(jde-set-variables
 '(jde-db-option-connect-shared-memory-name "JDEbug")
 '(jde-run-option-classpath (quote (".")))
 '(jde-db-option-connect-socket (quote (nil "8000")))
 '(jde-debugger (quote ("JDEbug")))
 '(jde-db-option-classpath (quote (".")))
 '(jde-sourcepath (quote (".")))
 '(jde-bug-server-socket (quote (nil . "8000")))
 '(jde-run-application-class "test")
 '(jde-bug-jre-home "c:/j2sdk1.4.2_04"))

Reply via email to