I am able to connect to the server with IDEA, but obviously no code is run when that debugger is started. So how do you then run a client in debug mode that will step through server code when it does lookups and remote method calls. Do you start another debugger, so two are running, or can you start the client through a dos prompt and the first debugger will start stepping through code when that client outside of the IDE calls a method where there is a breakpoint.
Thanks Bill, I think I have an better understanding of debugging. I had gotten IDEA to connect to a remote JVM in the BEA App Server, it was the next step that I wasn't sure about.
All I need to do next is put a breakpoint in any of my serverside classes, then run my JUnit test from a dos prompt, when the code that has the breakpoint is reached, IDEA will stop the code and be in debug mode.
subject: Debugging Server code in IDEA and Eclipse