Debugging in Visual Studio
You have created your application and resolved the build errors. You must now correct those logic errors that keep your application or stored procedures from running correctly. You can do this with the development environment's integrated debugging functions. These allow you to stop at procedure locations, inspect memory and register values, change variables, observe message traffic, and get a close look at what your code does.