action of the sodium-potassium pump opening of voltage-gated sodium channels and the diffusion of sodium ions into the neuron opening of voltage-gated sodium channels and the diffusion of sodium ions out of the neuron
Debugging in Visual Studio. For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation. The Visual Studio debugger helps you observe the run-time behavior of your program and find problems. The debugger works with all Visual Studio programming languages and their associated libraries.
Using Valgrind to debug memory leaks. Valgrind is a wonderful tool useful mainly to debug memory related problems in C/C++ programs. I don't know a better tool to find memory leaks.