core/com.nokia.carbide.cpp.doc.user/html/debugger/watchpoints/setting_watchpoints.htm
changeset 1658 2a5c0df13bad
parent 1599 e6d4a94a48d3
child 1754 a1e1c11d5a44
equal deleted inserted replaced
1655:e17ab99b8f30 1658:2a5c0df13bad
     9 </head>
     9 </head>
    10 <body bgcolor="#FFFFFF">
    10 <body bgcolor="#FFFFFF">
    11 <h2>Setting and Removing Watchpoints</h2>
    11 <h2>Setting and Removing Watchpoints</h2>
    12 <p>You create a watchpoint to monitor a value in a specified memory location. The debugger halts program execution on the line of source code that triggered the watchpoint. This is different than a breakpoint, which halts program execution prior to executing the line of source code on which the breakpoint is set.</p>
    12 <p>You create a watchpoint to monitor a value in a specified memory location. The debugger halts program execution on the line of source code that triggered the watchpoint. This is different than a breakpoint, which halts program execution prior to executing the line of source code on which the breakpoint is set.</p>
    13 <h4>Setting watchpoints</h4>
    13 <h4>Setting watchpoints</h4>
    14 <p>Right-click in the <a href="../breakpoints/viewing_breakpoints.htm">Breakpoints</a> view and choose the  <b>Add Watchpoint (C/C++)...</b> command to open the <b>Add Watchpoint</b> window. A watchpoint suspends program execution when the memory location that you specify is accessed with a write or read operation and it's based on the access setting. Use the <b>Add Watchpoint</b> window to specify the  memory location, its memory size, unit size, and define whether the watchpoint  triggers on a read, write, or on both operations. Watchpoints can also be added directly in the <a href="../../reference/view_variables.htm">Variables</a>, <a href="PLUGINS_ROOT/org.eclipse.cdt.doc.user/reference/cdt_u_outline_view.htm">Outline</a>, and the <a href="../../reference/view_memory_wnd.htm">Memory Rendering</a> views.</p>
    14 <p>Right-click in the <a href="../breakpoints/viewing_breakpoints.htm">Breakpoints</a> view and choose the  <b>Add Watchpoint (C/C++)...</b> command to open the <b>Add Watchpoint</b> window. A watchpoint suspends program execution when the memory location that you specify is accessed with a write or read operation and it's based on the access setting. Use the <b>Add Watchpoint</b> window to specify the  memory location, its memory size, unit size, and define whether the watchpoint  triggers on a read, write, or on both operations. Watchpoints can also be added directly in the <a href="../../reference/view_variables.htm">Variables</a>, <a href="PLUGINS_ROOT/org.eclipse.cdt.doc.user/reference/cdt_u_outline_view.htm">Outline</a>, and the <a href="../../reference/view_memory.htm">Memory Rendering</a> views.</p>
    15 <p align="center"><img src="../images/wnd_add_watchpoint.png" width="238" height="253"></p>
    15 <p align="center"><img src="../images/wnd_add_watchpoint.png" width="238" height="253"></p>
    16 <p align="center" class="figure">Figure 1. Add Watchpoint window </p>
    16 <p align="center" class="figure">Figure 1. Add Watchpoint window </p>
    17 <h5>Table 1. Add Watchpoint options </h5>
    17 <h5>Table 1. Add Watchpoint options </h5>
    18   <table width="88%"  border="0" cellpadding="2" cellspacing="0">
    18   <table width="88%"  border="0" cellpadding="2" cellspacing="0">
    19     <tr>
    19     <tr>