Microsoft KB Archive/100192

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

Article ID: 100192

Article Last Modified on 10/28/2003

-

APPLIES TO


 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition

-



This article was previously published under Q100192



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.



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: kbbug kbfix KB100192

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.