I have VS and run in debug mode with some break points. When I find a problem, I fix it, but often times the program has already branched down the wrong path so while debugging I add a line(s) to change variable to what they need to be step run them then remove the lines. I also add if statements looking for specific cases I am trying to check.
The problem is that I make a change, press F11 to continue and wait for sometimes 5-10 minutes. It finally gets to the next line and changes the value so I comment out or delete the extra line(s) then hit F11 and again wait up to 5-10 minutes. This wait time is getting ridiculous as I spend most of the day waiting for basic changes.
I have no problems building a program or stepping though code if I did not change anything.
I also notice that when I start the application, the delay is usually very short and gets slower and slower. Restarting VS sometimes helps but it always get super slow within half an hour.
Also sometimes I can make change that will go though after 20 seconds while another will take 10 minutes. I don't understand why there are differences, especially of such magnitude.
If I stop debugging and start again it starts quickly, but then I loose the state I am trying to debug.
I have tried all the VS tweaks I found like removing extra files and projects with no effect. I have no issues starting or building a project or stepping through code only after I make a change while debugging.
Thanks
elkinm
The problem is that I make a change, press F11 to continue and wait for sometimes 5-10 minutes. It finally gets to the next line and changes the value so I comment out or delete the extra line(s) then hit F11 and again wait up to 5-10 minutes. This wait time is getting ridiculous as I spend most of the day waiting for basic changes.
I have no problems building a program or stepping though code if I did not change anything.
I also notice that when I start the application, the delay is usually very short and gets slower and slower. Restarting VS sometimes helps but it always get super slow within half an hour.
Also sometimes I can make change that will go though after 20 seconds while another will take 10 minutes. I don't understand why there are differences, especially of such magnitude.
If I stop debugging and start again it starts quickly, but then I loose the state I am trying to debug.
I have tried all the VS tweaks I found like removing extra files and projects with no effect. I have no issues starting or building a project or stepping through code only after I make a change while debugging.
Thanks
elkinm