Advanced Debugging Techniques

This section covers changing data on the fly and illustrates the use of conditional breakpoints. This section also shows how to use real-time code debugging (just-in-time debugging).

You can change data items on the fly. For variables for which you want to change the code, after the debugging session has started, click on the variable wherever it appears in the code and click the Add a Watch for Variable at Cursor button. This adds the item to the Watch tab, as shown in Figure 6.33. Notice that you can also add watches on cursors, again seeing the various cursor attributes in the Watch tab.

Image

FIGURE 6.33 Add watches ...

Get Toad for Oracle Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.