Microsoft KB Archive/58681

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

QuickWatch in QuickC 2.50 Provides Easy Structure Expansion PSS ID Number: Q58681 Article last modified on 01-15-1991 PSS database name: S_QuickC

2.50

MS-DOS

Summary:

QuickC Version 2.50 provides users with the QuickWatch capability, which is a new interface for examining and changing the contents of structures. The QuickWatch is actually a dialog box that gives you faster access to variables and expressions than was available through Debug.WatchValue.

More Information:

The QuickWatch dialog box has the following fields:

The Expression Field

Can be an expression or a variable. The expression displayed can be selected from the list box.

The Value Field

Can be contents of the variable or the result of an expression in the expression field.

The List Box

Can be the expanded list of an array or a structure, displaying the names of the array members or structure elements. To denote levels of expansion, nested elements are indented one space.

The QuickWatch dialog box has the following buttons:

<Zoom>

If the expression contains an array or a structure, the <Zoom> button will display the array member or structure element names in the list box. If an array or structure is already “zoomed” the <Zoom> button will contract the expression. The default is “zoomed” one level.

<Evaluate>

When the <Evaluate> button is selected, the current expression will be made the base expression and will be expanded if applicable. For instance, if a node of a linked list is shown in the expression field and <Evaluated> is selected, the node will become the base and its members will be displayed.

<Add Watch>

When <Add Watch> is selected, the current expression will be added to the Watch window. If the expression already exists in the Watch window, <Add Watch> will have no effect. Note that <Add Watch> does not have any visual feedback indicating success or failure.

<Modify Value>

Values can be modified in a QuickWatch dialog via <Modify Value>. The same rules apply to the QuickWatch <Modify Value> as to Debug.Modify.

Copyright Microsoft Corporation 1991.