Using SoftBench Class Graph/Editor

 

Editing C++ Structures with SoftBench Class Graph/Editor

 

Any change to the sources or database must be reflected in the graph.

Figure 5-1

SoftBench Class Graph/Editor Use Model

Each time you make an edit, SoftBench Class Graph/Editor updates the graph, changes the source files, and invokes the source scanner to update the database. The scanning process takes time, and it's possible for the graph to become unsynchronized if you make edits before the scan completes.

Because SoftBench Class Graph/Editor does not have access to all the information that the compiler has, it's also possible for the graph to become unsynchronized with the source files. Compiler errors and source changes in other editors can cause the database and the graph to become out-of-date.

If you notice that the graph appears to be unsynchronized with your sources, you may need to re-analyze the database (choose "File: Analyze File Set" in the main SoftBench Static Analyzer window) and select the Update Graph button to display the current state of the

Chapter 5

135