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

ID: Q100192


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions 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 query words: buglist3.00 fixlist4.00 3.00

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: September 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.