Stack overflow

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lizelle Bothma

    #1

    Stack overflow

    Hi I have a problem with a project I am doing. I keep on getting the
    Stack Overflow message. Where do I start to try and solve this? I don't
    even know exactly what it means. Please help me I'm lost. Thanx a mil L.



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Martin Honnen

    #2
    Re: Stack overflow



    Lizelle Bothma wrote:
    [color=blue]
    >I have a problem with a project I am doing. I keep on getting the
    > Stack Overflow message. Where do I start to try and solve this? I don't
    > even know exactly what it means.[/color]

    Are you using a function that calls itself, i.e. a recursive function?
    You need to make sure that there is some condition where recursive
    calling is stopped otherwise you get a stack overflow.


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • Andrew Thompson

      #3
      Re: Stack overflow

      On 14 Oct 2004 11:28:46 GMT, Lizelle Bothma wrote:
      [color=blue]
      > I keep on getting the
      > Stack Overflow message. Where do I start to try and solve this?[/color]

      There are various resources available to you.

      1) A good JS debugger, as might be found in the browser,
      or installed as a plug-in.

      2) The JS FAQ. Even if it does not contain the exact answer
      to your questiom, it will give you a lot of tips on JS, debugging
      and getting answers in this group. <http://www.jibbering.c om/faq>

      3) Supply an URL*. The gurus of this group can fix code
      they can see, faster than a rat can climb a drain-pipe.
      * Trim the unneccessary stuff out, and validate the HTML first.

      BTW - it sounds like you might have an infinite loop.

      HTH

      --
      Andrew Thompson
      http://www.PhySci.org/codes/ Web & IT Help
      http://www.PhySci.org/ Open-source software suite
      http://www.1point1C.org/ Science & Technology
      http://www.lensescapes.com/ Images that escape the mundane

      Comment

      Working...