I was debugging an application that I had taken ownership of at work and often StackOverflowException S
After checking the code, I have seen a circle as follows:
- instant object
- Object constructor calls a method
- This method calls immediate object calls 1).
However, my colleagues used the application but got no exceptions. When I debug the application and I'm moving through the code, then I do.
Thank you
I can think of two situations when the program debugger Can behave differently under:
-
Any code is executed when debugger. The ISHATBET return is correct.
-
Tools - Options - Debugger - General "Enable property evaluation and other inherent function calls" is checked. In this situation, when the program runs under the debugger, some properties are asked to update the debugger watch window. This program can change behavior and can not be redone without a debugger.
Comments
Post a Comment