Data masking
Data masking capabilities of RevDeBug for C# projects and how to use them.

Excluding specified code from RevDeBug recordings

You can exclude parts of the source code from RevDeBug recording by enclosing it with
"NoTimeTravel" region. eg:
1
#region NoTimeTravel
2
public static String MethodExcluded(FinallyClauseSyntax finallyClause)
3
{
4
//...
5
return retValue
6
}
7
#endregion
Copied!

Excluding variables' values from RevDeBug recordings

You can specify variable names and/or regular expressions matching variable names that RevDeBug will ignore when recording code execution.
This is done in a configuration file with ".rdbbuildignore" extension (eg. project_name.rdbbuildignore).
The file needs to be included in the project as "AdditionalFiles" type (in the properties window of the file inside Visual Studio - it will default to "Content" or "None" and need to be changed to "AdditionalFiles").
The default content if the file is not present contains following entries:
1
password
2
pwd
3
cardNumber
4
secretkey
5
Copied!
After next full rebuild of the project code execution recordings will exclude vales of variables which have their names match the list.