FIX: Out of Memory Error on Show Next from Debug Menu

Last reviewed: October 30, 1997
Article ID: Q100192
3.00 WINDOWS kbprg kbbuglist

The information in this article applies to:

  • Standard and Professional Editions of Microsoft Visual Basic for Windows, version 3.0

SYMPTOMS

If you choose Show Next Statement from the Debug menu when you are not stepping through code, Visual Basic gives you an "Out of Memory" error message.

CAUSE

Visual Basic incorrectly enables the Show Next Statement choice in the Debug menu when you are not in single-step mode. This menu choice should be enabled only when you are stepping through code.

WORKAROUND

Avoid using the Show Next Statement option when you are not single stepping through code. This option should not be available when you are not single stepping through code.

STATUS

Microsoft has confirmed this to be a bug in Microsoft Visual Basic version 3.0 for Windows. This bug was corrected in Microsoft Visual Basic version 4.0 for Windows.

MORE INFORMATION

Steps to Reproduce Problem

  1. Start Visual Basic or from the File menu, choose New Project (ALT, F, N) if Visual Basic is already running. Form1 is created by default.

  2. From the Run menu, choose Start (ALT, R, S), or press F5.

  3. From the Run menu, choose Break (CTRL BREAK).

  4. From the Debug menu, choose Show Next Statement (ALT D W).

Visual Basic displays an "Out of Memory" error message.


Additional reference words: buglist3.00 fixlist4.00 3.00
KBCategory: kbprg kbbuglist
KBSubcategory: PrgCtrlsStd
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.