Page 1 of 1

This is really weird!

Posted: Mon Dec 27, 2010 5:52 pm
by MrAksel
Hey, i was working on my project here, and i decided to debug it after some changes. Then i had this StackOverflow error. I put the line of code inside a TRY-CATCH block and THOUGHT that would help. But it didn't, so now i have this error INSIDE a Try-Catch block! I didn't think it was possible!! Here is the screenshot

Re: This is really weird!

Posted: Mon Dec 27, 2010 6:49 pm
by Axel
you did this recursivly ... so it does like this : the foreach does for every item another "for each" and for every other for each it does another for each and bla bla

maybe do this

For each forum as forum in forumcollection
Treenodes.Nodes.add(forum.name)
next