Microsoft KB Archive/162039

= FIX: VJ++ Debugger Fails on Subsequent Debugging Sessions =

Article ID: 162039

Article Last Modified on 5/12/2007

-

APPLIES TO


 * Microsoft Visual J++ 1.0 Standard Edition

-



This article was previously published under Q162039



SYMPTOMS
The Visual J++ (VJ++) Debugger fails on subsequent debug sessions on a machine running Windows NT that has both Visual C++ (VC++) 4.2 Enterprise Edition and VJ++ 1.0 installed.



RESOLUTION
To workaround the problem, change the extension on the "Msdev\Bin\Ide\Msvcent.pkg" file before starting Microsoft Developer Studio to use VJ++. This disables the VC++ Enterprise Edition, but allows you to debug Java code.

NOTE: You need exit Microsoft Developer Studio, change the extension back to .pkg, and then restart Developer Studio in order to re-enable the VC++ 4.2 Enterprise Edition.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual J++ 1.1.



Steps to Reproduce Behavior
On a machine that has VC++ Enterprise Edition (version 4.2), Internet Explorer version 3.0 and VJ++ version 1.0, do the following:
 * 1) Create default JAVA applet using the Applet Wizard.
 * 2) Press F5 once. The debugger loads fine.
 * 3) Stop Debugging.
 * 4) Press F5 again.

You will notice that Internet Explorer 3.0 loads up, Developer Studio reports that it is loading symbols and then nothing happens. Developer Studio does not put the Debug option on the menu bar, but all the menus are in Debug mode. If you attempt to, say, rebuild the applet, it informs you that doing so will stop the debugger.

