DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the graphical interface of debug

Edit menu

Clicking MENU on the Edit button brings up a menu with different options, depending on which panes are present in the window. The following options appear in the Edit menu of one or more windows in the default configuration (remember that you can configure the Edit menu to have different options, or can move these options to different menus):

Copy

Clicking SELECT on the Copy button copies selected text from the ``Command pane'', ``Source pane'', ``Registers pane'' or ``Disassembly pane'' to the clipboard. Copy is not available unless there is a text selection.

The Copy option may only be configured in windows that contain one of the panes listed above. In the debugger's default configuration, the Copy option is available in the ``Edit menu'' of the Command, Disassembly and Source windows, and in the popup menus in the listed panes.

See also ``Using the Edit menu''.

Cut

Selecting the Cut button copies the selected text from the ``Source pane'' to the clipboard and deletes the text from the display. Cut is not available unless there is a text selection.

The Cut option may only be configured in windows that contain a ``Source pane'' or a Secondary Source pane. In the debugger's default configuration, the Cut option is available in the ``Edit menu'' of the Source window and in the popup menu in the ``Source pane''.

See also ``Using the Edit menu''.

Delete event

Clicking SELECT on the Delete button deletes all events selected in the ``Event pane''. This option is not available if you have not selected any events.

The Delete Event option may only be configured in windows that contain an ``Event pane''. In the debugger's default configuration the Delete Event option is available in the ``Edit menu'' of the Event window.

Delete text

Selecting the Delete Text button deletes the selected text from the ``Source pane''. Delete Text is not available unless there is a text selection.

The Delete Text option may only be configured in windows that contain a ``Source pane'' or a Secondary Source pane. In the debugger's default configuration, the Delete Text option is available in the ``Edit menu'' of the Source window and in the popup menu in the ``Source pane''.

See also ``Using the Edit menu''.

Disable

Clicking SELECT on the Disable button disables the events selected in either part of the ``Event pane'' (Main Event area or Onstop Event area). Disabled events have no effect on the processes and threads they apply to, but are not deleted. They may be reinstated with ``Enable''.

One or more events in both panes may be selected. This option is not available if the selected events are already disabled.

The Disable option may only be configured in windows that contain an ``Event pane''. In the debugger's default configuration, the Disable option is available in the ``Edit menu'' of the Event window.

Enable

Clicking SELECT on the Enable button enables the events selected in either part of the ``Event pane'' (Main Event area or Onstop Event area). One or more disabled events in both panes may be selected. This option is not available if the selected events are not disabled (see ``Disable''). Once enabled, an event will again affect the process or thread it is enabled in.

The Enable option may only be configured in windows that contain an ``Event pane''. In the debugger's default configuration, the Enable option is available in the ``Edit menu'' of the Event window.

Export

The Export menu option lets you export a debugger-maintained, user-defined variable to the environment. The exported variables become part of the environment that is received by debugger-created processes. If the values of the variables change, you must re-export them for the new values to become part of the environment. Note that the variables are exported without the $ prefix.

The Export option is available only if you are displaying user-defined variables in the ``Symbol pane'' and have selected one or more of them. The ``Symbols'' popup window lets you choose what is displayed in the Symbol pane. Symbols can also be exported through the ``Set value'' popup window.

The Export option may only be configured in windows that contain a ``Symbol pane''. In the debugger's default configuration, the Export option is available in the ``Edit menu'' of the Symbols window.

Input

The Input popup window lets you send input to a process whose I/O is captured (see ``Create''). Enter the string in the ``Input'' field. If the Append Newline option is set, a new-line character will be added to the end of the string. The string will be echoed in the Transcript area of the ``Command pane''.

The Input option may only be configured in windows that contain a ``Command pane''. In the debugger's default configuration, the Input option is found in the ``Edit menu'' of the Command window. This option is not available unless the current process or thread's I/O is captured.

Interrupt

Clicking SELECT on the Interrupt option lets you interrupt a script or a command executed from the ``Command pane''. This is useful if the script or command has gotten into an infinite loop or is generating lots of output.

The Interrupt option may only be configured in windows that contain a ``Command pane''. In the debugger's default configuration, the Interrupt option is available in the ``Edit menu'' of the Command window.

Paste

Selecting the Paste button copies the current contents of the clipboard to the location marked by the edit cursor in the ``Source pane''. Paste is not available unless the clipboard is non-empty and is not being held by another process.

The Paste option may only be configured in windows that contain a ``Source pane'' or a Secondary Source pane. In the debugger's default configuration, the Paste option is available in the ``Edit menu'' of the Source window and in the popup menu in the ``Source pane''.

See also ``Using the Edit menu''.

Pin

Pin is only available if you have selected one or more unpinned variables in the ``Symbol pane''. Clicking SELECT on the Pin option lets you pin all of the selected variables.

A pinned variable remains in the ``Symbol pane'' for as long as the process or thread in which it resides is the current process or thread, or until it is unpinned. Any user, program or debugger variable can be pinned. Pinned variables percolate to the top of the list as the ``Symbol pane'' is updated. When a program variable goes out of scope, it takes on a value of ??.

The Pin option may only be configured in windows that contain a ``Symbol pane''. In the debugger's default configuration, the Pin option is available in the ``Edit menu'' of the Symbols window.

Set current

The Set Current option lets you change the current context. If a process or thread is selected, Set Current will make the selected object the current process or thread. If a stack frame is selected, Set Current will make the selected frame the current frame. The information in all the windows in the window set will be updated to reflect the new context.

The Set Current option is not available unless one process or thread in the ``Process pane'' or one frame in the ``Stack pane'' is selected. In the debugger's default configuration the Set Current option is available in the ``Edit menu'' of Process and Source windows.

Undo

Selecting the Undo button cancels the last change made to the source in the ``Source pane''. Undo is not available until a change has been made to the source currently on display.

The Undo option may only be configured in windows that contain a ``Source pane'' or a Secondary Source pane. In the debugger's default configuration, the Undo option is available in the ``Edit menu'' of the Source window and in the popup menu in the ``Source pane''.

See also ``Using the Edit menu''.

Unpin

Unpin is not available unless you have selected one or more pinned variables in the ``Symbol pane''. Clicking SELECT on the Unpin option lets you unpin all of the selected variables that have been previously pinned.

An unpinned variable will disappear from the ``Symbol pane'' if it no longer belongs to the list of symbols that would normally be displayed from the current scope in accordance with the ``Symbols'' property settings.

The Unpin option may only be configured in windows that contain a ``Symbol pane''. In the debugger's default configuration, the Unpin option is available in the ``Edit menu'' of the Symbols window.


Next topic: View menu
Previous topic: Release

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004