I am creating a Visual Basic application in Visual Studio 2010. Some of my options can only be applied when the application restarts.
I did not get a single crash when the application is working fine. Also it does not work when I apply the settings, manually exit and restart. On the other hand, as soon as I try to perform an automatic restart from the application, I get an exception from one of 5-10 restarts.
I tried to start the debugger, but as soon as the application restarts, the Visual Studio debugger will turn off and will not turn on when the application starts again. And it does not start again with the same configurations. It seems that the debugger started the application configuration, and the application configuration files manually were different.
Is there any way around this? Support debugger through reboots? Or should I take on a different strategy?
source
share