PRB: Breakpoints Not Hit If Class Is Not PreloadedLast reviewed: January 29, 1998Article ID: Q165549 |
The information in this article applies to:
SYMPTOMSYou set a breakpoint in a Java source file before starting the debugging session and Visual J++ does not stop on the breakpoint.
CAUSEFor performance reasons, the debugger pre-loads only the main class of your project. The main class is either the class with the same name as the project or the class you specify in the "Build Menu-Settings-Debug tab- General Category-Class for debugging/executing." If you set breakpoints in other classes via the editor before the classes are loaded, the breakpoints are disabled.
RESOLUTIONDo one of the following to resolve the problem:
STATUSThis behavior is by design.
MORE INFORMATIONWhen a breakpoint is set during debugging, the class is preloaded in subsequent debugging sessions and the breakpoint is valid from that point on.
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/ http://support.microsoft.com/support/java/ Keywords : VJDebug Technology : kbInetDev Version : 1.0,1.1 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |