Scenario:
I've just been on a roll and implemented a bunch of code, but when I execute it I get thrown a StackOverflowException
? The StackOverflowException
doesn't have a stacktrace so I'm stuck. I know why a stack overflow might occur, but to fix it I need to know where it's root is.
All I'm getting is:
An unhandled exception of type 'System.StackOverflowException' occurred in tag-you're-it.dll
Options:
- Scan through all the changes and try to pin point the problem. (could be slow)
- Use a debugger and step through till you find the problem. (probably better than 1.)
- Use a profile and look for the most called methods.
- ?
PS:
This is a hypothetical situation (although not too uncommon) and therefore no code is available.