fileexpr (idb mode only)

Switch to the specified source file.

Syntax

fileexpr [expression]

Parameters

expression

The name of the file to which you want to switch.

Description

This command is similar to file, but instead of specifying a literal file name, you can specify an expression. For example, if you have a script that calculates a file name in a debugger variable or in a routine that returns a file name as a string, you can use fileexpr to set the file.

Example

(idb) set $originalFile = "solarSystem.cxx"
(idb) fileexpr $originalFile

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.