PRB: Call List Takes Longer to Display

Last reviewed: October 29, 1995
Article ID: Q129741
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 32-bit only, for Windows, version 4.0

SYMPTOMS

It takes a long time to display the Call List after running out of stack space with 32-bit Visual Basic version 4.0 in comparison to the time it takes in the 16-bit version 4.0 and 3.0.

CAUSE

The call stack in the 32-bit version 1 megabyte, which is approximately 30 times the size of the 16-Bit versions.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start a new project in 32-Bit Visual Basic version 4.0 on Windows 95 or Windows NT.

  2. Add a Basic Module to the Project, and enter this code:

       Sub Main()
          Main
       End Sub
    
    

  3. Change the default start up module by choosing Options... from the Tools manu. Select the project property sheet, and change the start-up module to Sub Main

  4. Start the program by choosing Start from the Run menu or by pressing the F5 key.

  5. Select the debug window when the "Out of Stack Space" error occurs.

  6. Press CTRL+L to bring up the calls list. After a few moments, a list with a large number of procedure calls should appear.


Additional reference words: 4.00 vb4win vb432
KBCategory: kbprg kbprb
KBSubcategory: PrgOptMemMgt


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 29, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.