|
|
Browse by Tags
All Tags » CodeIt.Right » Custom Rules
-
In addition to logging debug information as described above, you can do interactive debugging:
1) Open Visual Studio (copy #1) where you want to debug your custom rule
Open project with your custom rule.
Set output path for custom rule project (Project->Properties->Debug->Output path) to CodeIt.Right rules path (usually ...
-
To debug custom rules you can write log messages in to a file. To do that you reference "c:\Program
Files\SubMain\CodeIt.Right for VS2005\SubMain.CodeItRight.Core.dll" and
then use SubMain.Core.ExceptionHandling.UnhandledExceptionManager.LogHandler(string message) - writes into the CodeIt.Right log fileor ...
-
The best part about CodeIt.Right is that you are not limited to just the rule libraries included into the box. You can easily define your own (custom) rules. What makes this possible is the "CodeIt.Right SDK". The SDK documentation is available online at http://submain.com/codeit.right/sdk/ as well as locally as part of your CodeIt.Right ...
-
Jurgen,
Please find two custom rules attached to this post (with source code).
You will need to copy the CustomRules\CustomRules\bin\Debug\CustomRules.dll file to "c:\Program Files\SubMain\CodeIt.Right\Rules\" and then add the two new rules to your profile - ...
|
|
|