This function displays the list of the variables of the active project.
[Specification format]
project.GetVariableList(fileName = "")
|
[Argument(s)]
|
|
fileName
|
Specify the full path of the file that the list of the variables are displayed (default: not specified).
|
[Return value]
List of variable information (see the VariableInfo property for detail)
[Detailed description]
- | This function displays the list of the variables of the active project shown by the following format. |
variable-name attribute type address size file-name
|
- | When fileName is specified, only the variables included in the specified file are displayed. |
- | When fileName is not specified, then all the variables will be displayed. |
Caution | This function uses the information displayed in the list of variables for program analysis. |
[Example of use]
>>>project.GetVariableList()
var1 volatile int 0x000014e4 4 C:\project\src\test1.c
var2 static int 0x000014e8 4 C:\project\src\test2.c
>>>project.GetVariableList("C:/project/src/test1.c")
var1 volatile int 0x000014e4 4 C:\project\src\test1.c
>>>
|