| |||
| Home > Controlling the Behavior of Breakpoints > Setting breakpoints that test for hardware input triggers > Setting a hardware input trigger test | |||
To set a hardware input trigger test for a breakpoint:
Either:
create a new hardware breakpoint (see Chapter 10 Setting Breakpoints), and leave the Create Breakpoint dialog box open
edit an existing hardware breakpoint (see Editing a breakpoint) to display the Edit Breakpoint dialog box
copy an existing hardware breakpoint (see Copying a breakpoint) to display the Copy Breakpoint dialog box.
Click More... on the breakpoint dialog box you are using.
The breakpoint behavior controls are displayed. An example is shown in Figure 11.9.
In the Hardware Support group, select the required input trigger test from the Hardware Support list.
The tests available depend on your debug target, see:
Click Edit in the Hardware Support group:
where a test has a predefined list of options, a List Selection dialog box is displayed, showing the values that you can assign to the selected test
where a test requires that you enter a value, a prompt dialog box is displayed, so that you can enter the required value.
Specify the value for the test in the dialog box.
Click OK to close the prompt dialog box.
The test in the Hardware Support list is updated with the value you specified.
Click OK to set the breakpoint and close the breakpoint dialog box.