Hi,
I'm having some problems using the debug and I don't figure out what's
the problem, if someone could help me I apreciate.
I think has something to do with jpda.
JDE: beta15;
JVM: 1.2.1
Emacs: 20.4.1
Op. System: NT 4.0
-----------------------------------
*** Debugger Output for Process teste(1) ***
Error: debugger unable to launch teste.
Reason: Malformed command
Error: cannot set breakpoint at line teste.java in file 18.
Reason:
Error: unable to run teste..
Reason: Application ID '1' does not exist.
Launched VM Java Debug Interface (Reference Implementation) version 1.0
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.2.1 (Classic VM, build JDK-1.2.1-A, native threads, nojit)
vm started...
All threads suspended...
--------------------
*JDEbug*
--------------------
javaw -classpath
c:/programas/emacs/jde/java/lib/jde.jar;c:/programas/emacs/jpda/lib/jpda.jar
jde.debugger.Main
(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec javaw -classpath
.;c:\inprise\vbroker\lib\vbjapp.jar;c:\inprise\vbroker\lib\vbjorb.jar;c:\inprise\vbroker\lib\vbjtools.jar;c:\java\jre\lib\rt.jar
teste
(jde-dbo-command-error -1 "Malformed command")
JDE> 1 2 break absolute teste.java 18
(jde-dbo-command-error 2 "Application ID '1' does not exist")
JDE> 1 3 run
(jde-dbo-command-error 3 "Application ID '1' does not exist")
(jde-dbo-message
1 "Launched VM Java Debug Interface (Reference Implementation) version 1.0
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.2.1 (Classic VM, build JDK-1.2.1-A, native threads, nojit)")
(jde-dbo-command-result 1 1466)
(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "waiting" "suspended by debugger")
(list 'jde-dbo-vm-start-event))
------------------------
public class teste {
public teste () throws Exception {
throw new Exception("ola");
}
public static void main(String[] args) {
int i = 0;
System.out.println("Hello World i:"+i);
i++;
System.out.println("Hello World i:"+i);
}
}
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1