Using Dump Files
To debug your analyzer it is often helpful to output information to dump files. Dump files are created by inserting a line of code in the desired pass file indicating where to output the information.
To create a dump file:
In the Ana Tab, right-click on a pass file to open it in the Workspace.
In the pass file, add a printing statement using the "<<" operator in the following form: "dump_file_name.txt" << content_to_print. Below is a rule from the corporate analyzer that dumps the matched rule text into a dump file called "anaphora":
To view a dump file:
On the Debug Toolbar, click on the arrow next to the View Dump Files icon.
Select a dump file from the pulldown menu.