Data masking
Data masking capabilities of RevDeBug for Java projects and how to use them.
Last updated
Data masking capabilities of RevDeBug for Java projects and how to use them.
Last updated
Built-in data masking can be applied to any variable and will exclude its value from RevDeBug recording.
To use the capability you need to provide the identifiers of variable names to ignore in a rdbIgnore
file. Add the rdbIgnore
into the project, eg.:
And fill it in with variable names which will get excluded from RevDeBug recordings. Each variable name should be named on a separate line in the file. Regular expressions are accepted to match more than one method at the same time:
After the next full rebuild of the project, the variables matching the names will be excluded from being recorded.
You can exclude selected methods from RevDeBug recording by annotating them with
"@RevDeBug.RevDeBugIgnore"
, eg:
The same can be done with compiler arguments and whole packages or classes can be matched as well. Just add "-AREVDEBUG_EXCLUDE_METHODS
" or "-AREVDEBUG_EXCLUDE
" to RevDeBug options in your project build file. Regular expressions are accepted to match more than one method at the same time, eg.: