Knowledge Base

PRB: Call List Takes Longer to Display

Article ID: 129741

Article Last Modified on 11/18/2003


APPLIES TO


This article was previously published under Q129741

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.
  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 menu. 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.

Keywords: kbprb KB129741