12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Us<strong>in</strong>g the Debugger<br />

The variable name is displayed <strong>in</strong> the Watch List followed by its value. How the variable value<br />

is displayed is determ<strong>in</strong>ed by the data type of the variable and the current display sett<strong>in</strong>gs for<br />

that watch item.<br />

The Watch List Speed Menu<br />

As with every other <strong>C++</strong>Builder w<strong>in</strong>dow discussed up to this po<strong>in</strong>t, the Watch List has its<br />

own speed menu. (You’d be disappo<strong>in</strong>ted if it didn’t, right?) Table 11.4 lists the Watch List<br />

speed menu items and their descriptions.<br />

Table 11.4. The Watch List speed menu.<br />

Item Description<br />

Edit Watch Allows you to edit the watch item with the Watch Properties<br />

dialog box.<br />

Add Watch Adds a new item to the Watch List.<br />

Enable Watch Enables the watch item.<br />

Disable Watch Disables the watch item.<br />

Delete Watch Removes the watch item from the Watch List.<br />

Enable All Watches Enables all items <strong>in</strong> the Watch List.<br />

Disable All Watches Disables all items <strong>in</strong> the Watch List.<br />

Delete All Watches Deletes all items <strong>in</strong> the Watch List.<br />

The Edit Watch and Add Watch speed menu items both <strong>in</strong>voke the Watch Properties dialog<br />

box, so let’s look at that next.<br />

Us<strong>in</strong>g the Watch Properties Dialog Box<br />

You use the Watch Properties dialog box when you add a watch and when you edit a watch.<br />

Figure 11.5 shows the Watch Properties dialog box as it looks when you’re edit<strong>in</strong>g a variable<br />

called buff.<br />

Figure 11.5.<br />

The Watch Properties<br />

dialog box.<br />

403<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!