Hi, 

My configuration: 
WinNT
Emacs 20.4.1
JDE  2.1.6beta16

I am running a simple client that talks over an ORB (Visigenic Visibroker)
to my Server object. I want  to debug the server side code. Everything is
running on the same machine. 

After running the orb, naming service and Interface repository, I invoke my
server object within Emacs. I then start my debugger and then attach it to
the the server process via shared memory - I tried using sockets too (I
followed the steps outlined by Paul sometime earlier). The debugger connects
to the server process. I then setup breakpoints in the appropriate files.
The debugger tells me that breakpoints have been set. 

I then invoke my java client outside of emacs - on a cmd shell, and am
expecting control to stop when the flow reaches the method where I have set
the breakpoints. But this is not happening. The client runs through fine,
without stopping atall. 

Does anything special need to be done to get this running. 

Attached are the jdebug, process and messages buffer content. 
 <<process.txt>>  <<messages.txt>>  <<jdebug.txt>> 

many thanks in advance, sandip.
--
Sandip Sarwate


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

Attached to process on port 7777 of local host.
Attached VM (socket) 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 (Classic VM, build JDK-1.2-V, native threads, nojit)
Setting breakpoint at line 734 in STARServerImpl.java.
Setting breakpoint at line 736 in STARServerImpl.java.
Loading c:/star/dev/src/com/schwab/star/remote/prj.el (source)...
Loading cl-extra...
Loading cl-extra...done
Loading c:/star/dev/src/com/schwab/star/remote/prj.el (source)...done
Fontifying Main.java...
Fontifying Main.java... (regexps.............)
Loading c:/star/dev/src/com/schwab/star/remote/prj.el (source)...done
peculiar error
Debugger started successfully.
Making completion list...
Note: file is write protected
Fontifying STARServerImpl.java...
Fontifying STARServerImpl.java... (regexps.............)
Note: file is write protected
Mark saved where search started
Breakpoint set at line 734 in class STARServerImpl.java.
Breakpoint set at line 736 in class STARServerImpl.java.
java -classpath c:/emacs/jde-2.1.6beta16/java/lib/jde.jar;c:/jpda/lib/jpda.jar 
jde.debugger.Main


(jde-dbo-init-debug-session)

JDE> -1 1 attach_socket 1 -port 7777



(jde-dbo-message
1 "Attached VM (socket) 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 (Classic VM, build JDK-1.2-V, native threads, nojit)")


(jde-dbo-command-result 1 -1)

JDE> 1 2 break absolute STARServerImpl.java 734



(jde-dbo-command-result 2 0)

JDE> 1 3 break absolute STARServerImpl.java 736



(jde-dbo-command-result 3 1)

Reply via email to