1# RUN: %clangxx_host %p/Inputs/main.cpp -g -o %t.out
2# RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %s %t.out 2>&1 | FileCheck %s
3
4settings show interpreter.stop-command-source-on-error
5# CHECK: interpreter.stop-command-source-on-error (boolean) = false
6
7b main.cpp:11
8run
9# CHECK: stopped
10# CHECK-NEXT: stop reason = breakpoint
11
12watchpoint set
13# CHECK: Commands for setting a watchpoint.
14# CHECK: The following subcommands are supported:
15# CHECK: Set a watchpoint on an address by supplying an expression.
16# CHECK: Set a watchpoint on a variable.
17
18watchpoint set variable -w read_write
19# CHECK: error: required argument missing
20
21watchpoint set expression -w write --
22# CHECK: error: expression evaluation of address to watch failed
23
24watchpoint set expression MyAggregateDataType
25# CHECK: error: expression did not evaluate to an address
26
27watchpoint set variable -s -128
28# CHECK: error: invalid enumeration value
29