Using Sun WorkShop

Tool Bar

The tool bar in the Sun WorkShop main window, shown in Figure 2-2, provides quick access to windows where you can edit files, build a target, debug a program, browse for program symbols, and more.

Figure 2-2 Sun WorkShop Main Window Tool Bar

Graphic

File button 

Opens the File to Open dialog box, where you can select a file to edit in the text editor of your choice--vi, GNU Emacs, and XEmacs. 

Building button 

Opens the Building window, then rebuilds the current targets. 

Debugging button 

Opens the Debugging window and loads the current program for debugging. If there is no current program, opens the Debug New Program dialog box, where you can select a program file and enter parameters for debugging. 

Browsing button 

Opens the Browsing window so you can perform queries using pattern searching or source browsing. 

WorkSets button 

Opens the WorkSets window and displays the current WorkSet. 

Analyzer button 

Opens the Sampling Analyzer window and the Analyzer Load Experiment dialog box allowing you to analyze application performance data. 

LoopTool button 

 

Opens the LoopTool window, where you can analyze multithreaded applications (available with Sun Visual WorkShop C++ and Sun Performance WorkShop Fortran) 

Merging button 

Opens the Merging window and a dialog box to select text files to compare and merge. 

TeamWare button 

 

Opens the Sun WorkShop TeamWare source code management tool, where you can access the TeamWare tools (available with Sun Visual WorkShop C++ and Sun Performance WorkShop Fortran) 

Visual button 

Opens the Visual window for you to design visual applications (available with the Sun Visual WorkShop C++)