Using the WDB GUI ·
Creating User Configurable buttons dynamically
Home and Help Icons Keyword Index Home Using Help
Line Graphic
Line Graphic

Contents

Keyword Index

Using the WDB GUI
Starting and Exiting the WDB GUI
Loading a Program and Changing Program Settings
Opening Source Files
Changing the Working Directory
Saving and Restoring Debug Sessions
Setting Source Paths
Setting Object Paths
Viewing Your Code
Browsing Functions
Setting Signal Handling
Finding Specific Text in Your Code
Using the Command View
Using the Watch View
Using Quick Watch
Using the Local Variables View
Using the Call Stack View
Using the Threads View
Using the Registers View
Examining Memory Use
Using the Program Console
Using Breakpoints
Advancing Through Your Program
Fixing Code from within the Debugger
Starting and Stopping the Debug Process
Setting Debugger Preferences
{short description of image} Creating Buttons dynamically
Customizing Colors and Fonts

Reference Information

Troubleshooting

Using Help



Bullet Overview
Bullet Naming the Buttons file
Bullet Bringing up the Dialog box
Bullet Limitations
Bullet See Also

Line Graphic

Overview

This WDB GUI feature provides the user the ability to create buttons dynamically from within the GUI. A list of created buttons is stored by default, in the user's home directory with the name '.wdbuserbuttons'. This gives the user the flexibilty to create, store and use buttons across sessions.

Buttons will be created in the "User Buttons Area" which is between the tool bar and the source window in the WDB GUI window. A maximum of 15 buttons can be created with 8 buttons in the first row and 7 buttons in the second row.
Line Graphic

Naming the Buttons file

The user can also change the name of the '.wdbuserbuttons' file by exporting the environment variable WDBGUIBUTTONS. By default, if this environment variable is not set, '.wdbuserbuttons' will be created in the user's $HOME. If this environment variable is set, and there is no path specified, then the file named using WDBGUIBUTTONS will be created in the user's $HOME.

$ export WDBGUIBUTTONS=mybuttonsfile

The above command will create a file mybuttonsfile in the user's home directory. If a path is specified while setting the environment variable, then the file will be created in that particular directory.

$ export WDBGUIBUTTONS=/tmp/mybuttonsfile

The above command will create a file, mybuttonsfile in /tmp.
Line Graphic

Bringing up the Dialog box


The User Configurable Buttons dialog box can be invoked either by clicking on the 'User Configurable Buttons' icon or through the 'Edit->Create Buttons' menu option.

The 'User Configurable Buttons' Icon is located in the Tool bar next to the 'Disassembly' Icon.
Line Graphic

Limitations

  • A maximum of 15 buttons can be created.
  • The button's name can be a maximum of 10 characters in length.
  • A maximum of one operation can be entered in the Operation text for each button.
Line Graphic

See Also


Line Graphic

Return to Top