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
-
On the Project menu, click <Project Name> Properties, where <Project Name> is the name of the currently loaded project.
-
On the Launch tab of the Properties dialog box, click Custom.
-
In the Program box, type the path to the executable that calls into your component.
-
In the Arguments box, type any arguments that you want to pass to the application specified in the Program box.
-
Click OK.
-
In your component’s class code, place your cursor at the location at which you want to set a breakpoint.
-
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.