Jump to content
Xtreme .Net Talk

stack over flow error


Recommended Posts

Guest hasnain_razwi
Posted
hi all. does anyone know how i can handle a stack overflow error in a recursive function. im using vb.net to make a function that searches all the squares adjacent to a square in a grid.
Guest hasnain_razwi
Posted
Its ok. It was an endless loop. code was so long, I couldn't figure it out first. Now its working fine. But still is there any way to release the resources held by the system stack during run time. I used a call to the Clear() method but that doesn't seem to work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...