Tool to diagnose the code to check for errors at runtime
Is it possible to check the code and find all places where conversion errors might hap开发者_运维技巧pen.
for Ex: Wherever = operator is used , i have to check the type of the LHS and RHS variable.
Is it possible with following softwares?
submain CodeIt.Right
SSW Code Auditor
In Visual Studio, turn Option Strict and Option Explicit On.
Type this at the top of each code file:
Option Strict On
Option Explicit On
Or, in your project settings, you can set it project-wide in the Compile Tab.
精彩评论