Results 1 to 4 of 4

Thread: Caveat! (2002)

  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Caveat! (2002)

    Compiler stops allocating stack space for code after method exceeds some unknown character limit.

    I could find nothing about this at MSDN, but we tested on 3 machines with the following:
    Windows 2000, Windows XP, Office XP, Office PIAs, VS.Net 2002, Framework 1.0:

    The VS.Net compiler simply stopped adding statements to the stack for
    a rather long method. It simply stopped allocating space for statements
    after several hundred lines. The compiler returned no compile, execution
    or runtime errors, but all sorts of ugly logic errors greeted us when testing.

    Solution: Programming 1A "Break Up Solutions Into Small Methods" When we
    broke out some segments into smaller methods, the calling method now executes
    in its entirety.

    This seems like a pretty weird error for a flagship MS dev product. Go figure...
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Caveat! (2002)

    What hardware and how much memory?

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Caveat! (2002)

    Pentium 4 2.8G, 784MB RAM
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Caveat! (2002)

    That should suffice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •