Anjuta C/C++ IDE Manual | ||
---|---|---|
<<< Previous | Debugging: Working with Expressions | Next >>> |
Inspecting or evaluating an expression provides the result only once. To continuously monitor some variables or expressions, use expression watch.
Add all the expressions and variables to monitor in the watch. These values will be automatically updated and shown in the expression watch window.
Figure 3. Expression Watch window
Choose the menu item View->Watch Window. Right-click on the expression watch window to open the Operation menu. Choose the menu item Add. A dialog prompting for the expression will appear. Enter the expression and click OK.
Figure 4. Add Expression dialog
If the expression was selected in the editor prior to the addition, it will automatically appear in the dialog.
Choose the menu item View->Watch Window. Right-click on the expression watch window to open the Operation menu. Choose the menu item Remove to remove the entry.
Choose the menu item View->Watch Window. Right-click on the expression watch window to open the Operation menu. Choose the menu item Clear to update or clear.
<<< Previous | Home | Next >>> |
Debugging: Working with Expressions | Up | Debugging: Stack Trace |