| |||
| Home > Debugging with Command Scripts > Running command scripts > Considerations when running command scripts | |||
When you run a command script, RealView Debugger sets the
environment variable RVDEBUG_INCLUDE_BASE to
the location of that command script. Therefore, you can use this environment
variable in your script if required. The environment variable definition
exists only for the current debugging session, and changes when
you run additional command scripts.
The environment variable is not changed if you use the INCLUDE command in a command script.
To see the current value of the environment variable, enter the following CLI command:
host set RVDEBUG_INCLUDE_BASE