Browsing Source Code
  Search only this book
Download this book in PDF

2.3 Starting SourceBrowser

You can start SourceBrowser from one of the following:
  • Manager
  • Command or Shell tool window
Since SourceBrowser is an integrated component of the toolset, try working with the Manager. If you use the Manager, then you can use SourceBrowser in conjunction with the Debugger. Specifically, you can use SourceBrowser to search for a variable; then, set a Debugger breakpoint at the appropriate occurrence of that variable. You can also select a symbol in the CallGrapher, ClassGrapher, or ClassBrowser window, and show its source in the Debugger window.

2.3.1 From the Manager

To activate the Manager:
* Type sparcworks or proworks at the prompt in a Command or Shell tool.
To activate SourceBrowser from the Manager:
* Double-click on the SBrowser icon in the Manager window, or drag and drop the icon onto the workspace.

Imported image(396x130)

For details on using the Manager with SourceBrowser and other tools, see the Managing the Toolset manual.

2.3.2 From a Command or Shell Tool Window

To activate SourceBrowser from a Command or Shell tool window:
* Type sbrowser& at the prompt in the Command or Shell tool window.
When you start SourceBrowser from the command line, you can specify any of the standard OpenWindows -scale options (small, medium, large, or extra_large). The default is -scale medium.

2.3.3 SourceBrowser Base Window

The following figure shows the base window similar to that displayed when you first invoke SourceBrowser.

Internal bitmap(348x357)