How to: Debug J# Browser Controls
To debug J# Browser Controls
- Right-click the solution and click Properties on the shortcut menu. The Property Pages dialog box appears.
- Click the Debug Source Files tab and set the symbol path to the location of the .pdb file for the managed library. For more information, see Debugging.
Now you can debug the J# Browser Control library by setting Internet Explorer as the executable to use and passing the URL to the J# Browser Control as the parameter.
To set the appropriate options
Right-click the project and click Properties on the shortcut menu.
The Property Pages dialog box appears.
Click the Configuration Properties tab, and then click Debugging.
Set Debug Mode to Program.
Set Start Application to the path of IEXPLORE.EXE (for example, C:\Program Files\Internet Explorer\IEXPLORE.EXE).
Set Command Line Arguments to the URL of the .htm file in which the J# Browser Control is hosted.
Set the usual break points in the J# Browser Control code.
On the Debug menu, click Start.
Note Instead of using IEXPLORE.EXE as the executable for debugging, you can also attach to the instance of an already running Internet Explorer window and debug.
Migrating Java Applets to Microsoft J# Browser Controls | Classes Accessible to a J# Browser Control | Security Semantics for J# Browser Controls | Supporting J# Browser Controls and Java Applets in the Same Page