Variable View

The following preferences can be set using the VJET > Debug > VJET Step Filtering preference page.

Option Description Default
Enable variable modification constraints

This option controls change of variable value under type constraints if can find the promoted type of the variable. e.g. var x= true;//<boolean, variable "x" only accepts value "true" or "false".

Constraints rules are applied when enable:

  • Boolean, boolean: true,false
  • Number, int, Integer, byte, Byte, short, Short, long, Long, float, Float, double, Double: a numeric value
  • String: input would be escaped and set to variable
  • Character, char: input would be escaped and set the 1st char to variable
  • Others: only accept null value

Off

Related reference