Appendix B. Customizing ProDev WorkShop Tools

If the configuration of a window or view does not meet your particular needs, you may be able to adjust the graphical user interface accordingly. This appendix discusses how to make such changes.

Customizing Within ProDev WorkShop

If you want to change the appearance of the ProDev WorkShop windows, we recommend that you start with the menus provided for that purpose:

  • WorkShop Main View: Display menu

  • Array Browser: Color, Scale, Format, and Spreadsheet menus

  • Call Stack View: Config and Display menus

  • Disassembly View: Config, Disassemble, and Display menus

  • Expression View: Config, Display, Language popup, and Format popup menus

  • Memory View: Mode menu

  • Process Meter: Charts and Scale menu

  • Register View: Config menu

  • Source View: Display menu

  • Structure Browser: Config, Display, Node, and Format popup menus

  • Trap Manager: Config and Display menus

  • Variable Browser: Language popup, and Format popup menus

  • Build Analyzer: Filter, Selected Node popup and Node popup menus and graphic controls

  • Build View: Admin menu—"Preferences..." and "Build Options..."

  • Performance Analyzer: Config menus in all views, and Selected Node popup and Node popup menus and graphic controls in graphical views

  • Static Analyzer: Views menu, and Selected Node popup and Node popup menus and graphic controls in graphical views

  • Tester: Views menu, and Selected Node popup and Node popup menus and graphic controls in graphical views

Changing X Resources

While there are hundreds of X resources that can be changed, we recommend that you avoid modifying recources if at all possible. However, in some cases, there may be no way within WorkShop to make the desired change. Here are some X resources for the Debugger and its views that you may find useful:

*autoStringFormat 


if true, sets default format for *char results as strings in Expression View, the Variable Browser, and the Structure Browser; otherwise the default format will be the hex address.

*varBrowser*maxSymSize 


lets you set the maximum number of variables that can be displayed by the Variable Browser. The current default is 25.

*expressionView*maxNumOfExpr 


lets you set the maximum number of expressions that can be read from a file by Expression View. The current default is 25.

cvmain*sourceView*nameText.columns 


sets the length of the File field in the WorkShop Main View window. The default is 30 characters.

Cvmain*disableLicenseWarnings and *disableLicenseWarnings 


disable the license warning messagse that display when you start cvd and the other tools.

The following resources apply to Source View:

*tabWidth 


sets the number of spaces for tabs in Source View.

*sourceView*textEdit.scrollHorizontal 


if true, displays a horizontal scroll bar in Source View.

*sourceView*nameText.columns 


sets the length of the File field in Source View. The default is 30 characters.

*svComponent*lineNumbersVisible 


displays source line numbers by default.

The following resource applies to the Build Analyzer:

*buildCommand 


is used by the Build Analyzer to determine which program to use to build with (make, smake, clearmake, etc.). The default value is make.

To change these resources, you need to set the desired value in your .Xdefaults file, re-run xrdb if you use it, and then restart your application so that the resource gets picked up.