Testing in c++

which software should i use for testing c++ code and for debugging ??

I guess Visual Studio Code and Visual Studio both provide a robust tool for Debugging your code.You can set breakpoints in the desired line of your code and it will also show CALL Stack Window for the execution of function call.

I think Visual Studio Code is best for C++ or any other language considering its integration with any language for any purpose. Though i don’t know about its uses in Machine Learning.