Using the Debugger caused VS2017 to break, The debugger is very slow, it does not disengage very well at all.
shutting down and restarting VS2017 solved the problem and the program worked perfectly after.
Just FYI. I hope is not going to be an ongoing problem.