Variables tab
All current visible variables are shown in the NetBeans IDE Variables tab. This tab has these columns:
- Name
- Type
- Value
To change a variable’s value, click and edit the value in the Value column. Then, press
or click in the Name or Type column to stop editing.The values that are shown are always enclosed by double quotes. You are not required to enclose your entry with double quotes if there is no white space or double quote character in the field. The set command with your input, as given, is sent to the Tcl Debugger engine for evaluation. You must ensure the syntax is correct.
For example, you can change a variable debug’s value to 1, "1", or {1}. The results are identical. The commands sent to the server are:
- set debug 1
- set debug "1"
- set debug {1}
If there are white spaces or double quote characters in the value string, then ensure the syntax is correct. For example:
set str "hello world"
set str {hello world}
set str hello"world <- This is correct
set str {hello"world}
set str "hello\"world"
These commands are incorrect. The Tcl interpreter raises an exception and terminates running when these are used:
- set str hello world
- set str "hello"world