Using an Executable Debugging Client

From within your server-side component project, you can specify and configure a debug executable, an application that triggers a breakpoint within your component.

To configure a client executable

  1. On the Project menu, click <Project Name> Properties, where <Project Name> is the name of the currently loaded project.

  2. On the Launch tab of the Properties dialog box, click Custom.

  3. In the Program box, type the path to the executable that calls into your component.

  4. In the Arguments box, type any arguments that you want to pass to the application specified in the Program box.

  5. Click OK.

  6. In your component’s class code, place your cursor at the location at which you want to set a breakpoint.

  7. On the Debug menu, click Start to launch the executable you specified as your debug client.

When the Visual J++ debugger breaks into your component’s code at the specified breakpoint, you can use the debugger’s step commands on the Debug menu (Step Over, Step Into, and Step Out) to navigate your component’s source.