Debugging CORBA Programs

You can use the IDE's debugger with your CORBA client and server programs. There are a few things you must consider:

Setting Breakpoints

Use the standard IDE procedures for setting breakpoints. For example, to set a breakpoint in the Hello World example's implementation class:

  1. Go to the HelloImpl class in the editor and locate the line containing the for() loop in the code.
  2. Put the insertion point in this line, and press Ctrl-F8 to set a breakpoint on this line.
  3. Select the HelloServer class in the Explorer, and press F5 to start the server in the debugger.

Execute the client as you did before. Server-side execution pauses at your breakpoint. Just as when debugging other Java objects, you can freely make use of tracing, watch variables, and other debugging techniques.
If you are running the IDE on Java HotSpotTM technology, you must disable Java HotSpot before restarting the client.


Legal Notices