The Visual Studio IDE provides a handy code analyzer tool (the shortcut is Alt + F11 to analyze the solution). The solution can be C#, C++ (can be native or managed .NET) or other programming languages supported by Visual Studio. It is a static code analyzer which is similar to FxCop (by Microsoft), that will find out the potential code violations but these two tools focus on different aspects of the code quality.
Then, the warnings will be categorized into Memory, Security, Invalid API parameters etc. It finds bug in my C++ code! The following code has potential array-out-of-bound-access error, which didn’t causes problem (rarely) in this particular case, but it doesn’t mean that the code is right, so it is better to fix it according to the hint.
In [More information], the steps are marked yellow for code statements and corresponding explanations (variables, branches) are given.
–EOF (The Ultimate Computing & Technology Blog) —
loading...
Last Post: How to Customize Search Engine for WordPress?
Next Post: Freeware to Convert MP3 by Quality