Chapter 21 Browser Utilities

This chapter describes two utilities:

Microsoft Browser Database Maintenance Utility (BSCMAKE) version 2.00

Microsoft Browse Information Compactor (SBRPACK) version 2.00

These utilities build a browser database for use with the Microsoft Source Browser, a feature of the Microsoft Programmer's Workbench (PWB). As a navigation tool, the browser gives you the means to move around quickly in a large project and find pieces of code in your source and include files. As an interactive program database, the browser can answer questions about where functions are invoked or where variables and types are used. The browser can also generate useful outlines, call trees, and cross-reference tables.

Summary: Read this chapter to understand the Browse Option choices in PWB ...

When you tell PWB to create a browser database (.BSC file) for the program you are building, PWB automatically calls BSCMAKE. You do not need to know how to run BSCMAKE to create your database in PWB. However, you may want to read this chapter to understand the PWB options available to modify the database. For information on how to create and use a browser database in PWB, see “Using the Source Browser” in Chapter 5.

Summary: ... or to learn how to build or maintain a browser database outside of PWB.

If you build your program outside of PWB, you can still create a custom browser database that you can examine with the Browser in PWB. Run the BSCMAKE utility to build the database from .SBR files created during compilation. You might need to run SBRPACK to provide more efficiency during the build. This chapter describes how to use both these utilities to create your browser database. For further information, see “Building Databases for Non-PWB Projects” in Chapter 5.

Note:

BSCMAKE is the successor to the Microsoft PWBRMAKE Utility. To allow existing makefiles to remain compatible, a file called PWBRMAKE.EXE is provided with BSCMAKE. This version of PWBRMAKE calls BSCMAKE using the arguments and options specified on the PWBRMAKE command line.