Never thought I’d say this, but I just got a stack overflow in my program (which I have been working on forever without testing). Basically, it’s a server, and when the first person connects I get a stack overflow. I’ve put in breakpoints and I still can’t figure out where it’s occuring (infinate loop). I thought I’d come to request the people of the site named after my problem to help me fix this.
How can I find (amongst thousands of lines of code) where a stack overflow occurs?
Thanks so much,
Christian
Follow these simple steps to get that which statement causing this error and hang up your application:
F5 to check where it taking time and causing Stack overflow.
Break Allor Press Ctrl + Alt + Break then it will make the focus on that statement which your application is executing right now.Another option is Use
Stack TraceHope this help.