Using SoftBench Static Analyzer

Redisplaying Past Queries

Redisplaying Past Queries

Each time SoftBench Static Analyzer executes a successful "Show" or

"Symbol" menu command, SoftBench Static Analyzer places the query name in the "History" menu. From the "History" menu, the query result can be reviewed later, printed, saved to disk, or deleted.

Note that SoftBench Static Analyzer saves the query result, not the query itself. Any changes that have happened since the original query (such as filters being added or removed, or new source being analyzed) are not reflected in the saved query result.

The "History" menu does not contain the results of unsuccessful queries. For example, if you enter an identifier in the "Symbol ()" input box that is not a function name and choose "Symbol: Function : Parameters ()", an error message appears and the "Parameters identifier" query does not appear in the "History" list.

By default, the "History" menu contains the 10 most recent, successful queries. To change the number of queries saved, use the "Options: History Menu Size…" menu command. Valid values range from 1 to 1000.

If the number of entries in the "History" menu equals the maximum History Menu Size, and you perform a query, SoftBench Static Analyzer automatically deletes the oldest query in the "History" list.

Redisplaying Query Results

To redisplay the results of a "Show" or "Symbol" command, choose "History: query name : Query". This causes the results to be redisplayed in the Query Results Area. SoftBench Static Analyzer does not re-execute the query.

Deleting a Query Result

To delete a query result, choose "History: query name : Delete". SoftBench Static Analyzer removes the query from the "History" menu.

Saving and Printing a Query Result

Choosing "History: query name : Print…" enables you to save a

Chapter 9

271