I have a windows app developed in C#.
My windows app does funny things in a specific situation and doesn't work as normal.
I have identified where in the code this funny thing happens and have stepped through it in a 'normal' situation. When I try to step through it in the 'funny' situation, it just cuts out, and the debugger takes me back to the "run application" command.
I tried putting the line of code in a try / catch, and using the catch to output the error, but it doesn't even catch the error - it just gets to that line and then cuts out in exactly the same way as before.
I know I haven't described any code, or exactly what the app does, as I'm hoping there's a general reason for this kind of debugging problem. Let me know if you do need to know specific details, and thanks in advance for any help.
My windows app does funny things in a specific situation and doesn't work as normal.
I have identified where in the code this funny thing happens and have stepped through it in a 'normal' situation. When I try to step through it in the 'funny' situation, it just cuts out, and the debugger takes me back to the "run application" command.
I tried putting the line of code in a try / catch, and using the catch to output the error, but it doesn't even catch the error - it just gets to that line and then cuts out in exactly the same way as before.
I know I haven't described any code, or exactly what the app does, as I'm hoping there's a general reason for this kind of debugging problem. Let me know if you do need to know specific details, and thanks in advance for any help.