开发者

Tool to diagnose the code to check for errors at runtime

开发者 https://www.devze.com 2023-03-05 02:02 出处:网络
Is it possible to check the code and find all places where conversion errors might hap开发者_运维技巧pen.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消