Home
last modified time | relevance | path

Searched refs:watchpoint (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/API/python_api/watchpoint/
H A DTestWatchpointIter.py61 watchpoint = value.Watch(True, False, True, error)
62 self.assertTrue(value and watchpoint,
72 self.assertTrue(watchpoint.IsEnabled())
73 watch_id = watchpoint.GetID()
95 print(watchpoint)
104 watchpoint.SetEnabled(False)
106 self.assertFalse(watchpoint.IsEnabled())
118 for watchpoint in target.watchpoint_iter():
119 self.assertTrue(watchpoint)
121 self.assertEqual(watchpoint.GetHitCount(), 1)
[all …]
H A DTestWatchpointIgnoreCount.py66 self.assertTrue(value and watchpoint,
76 watchpoint = target.GetWatchpointAtIndex(0)
77 self.assertTrue(watchpoint.IsEnabled())
79 watch_id = watchpoint.GetID()
81 print(watchpoint)
85 watchpoint.SetIgnoreCount(2)
86 print(watchpoint)
93 self.assertTrue(watchpoint)
94 self.assertEqual(watchpoint.GetWatchSize(), 4)
96 self.assertEqual(watchpoint.GetHitCount(), 2)
[all …]
H A DTestSetWatchpoint.py58 watchpoint = value.Watch(True, True, True, error)
59 self.assertTrue(value and watchpoint,
67 print(watchpoint)
103 self.assertFalse(watchpoint.IsValid())
H A Dcategories1 watchpoint
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/Inputs/
H A Dwatchpoint2.in3 watchpoint set variable val
4 watchpoint modify 1 -c "(val == 1)"
5 watchpoint command add -s lua
6 print("conditional watchpoint")
10 # CHECK-COUNT-1: conditional watchpoint
11 # CHECK-NOT: conditional watchpoint
H A Dwatchpoint3.in3 watchpoint set expr 0x00
4 watchpoint command add -s lua
H A Dwatchpoint1.in3 watchpoint set variable val
4 watchpoint command add -s lua
/llvm-project-15.0.7/lldb/test/Shell/Watchpoint/
H A DSetErrorCases.test12 watchpoint set
13 # CHECK: Commands for setting a watchpoint.
15 # CHECK: Set a watchpoint on an address by supplying an expression.
16 # CHECK: Set a watchpoint on a variable.
18 watchpoint set variable -w read_write
21 watchpoint set expression -w write --
24 watchpoint set expression MyAggregateDataType
27 watchpoint set variable -s -128
H A Dnetbsd-nouserdbregs.test1 # Check that 'watchpoint set' errors out gracefully when we can't set dbregs
17 watchpoint set variable g_watchme
/llvm-project-15.0.7/lldb/examples/test/
H A Dusage-pre-post-flight5 …86_64 -v -c ../examples/test/.lldb-pre-post-flight.bad functionalities/watchpoint/hello_watchpoint
8 …-A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint
38 … -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint
46 Test a simple sequence of watchpoint creation and watchpoint hit. ...
54 Test a simple sequence of watchpoint creation and watchpoint hit. ...
/llvm-project-15.0.7/lldb/test/API/python_api/watchpoint/condition/
H A DTestWatchpointConditionAPI.py64 watchpoint = value.Watch(True, False, True, error)
65 self.assertTrue(value and watchpoint,
70 watchpoint.SetCondition('global==5')
71 self.expect(watchpoint.GetCondition(), exe=False,
78 print(watchpoint)
/llvm-project-15.0.7/lldb/test/API/python_api/watchpoint/watchlocation/
H A DTestTargetWatchAddress.py63 watchpoint = target.WatchAddress(
65 self.assertTrue(value and watchpoint,
74 print(watchpoint)
137 watchpoint = target.WatchAddress(
139 self.assertFalse(watchpoint)
H A DTestSetWatchlocation.py65 watchpoint = value.WatchPointee(True, False, True, error)
66 self.assertTrue(value and watchpoint,
75 print(watchpoint)
/llvm-project-15.0.7/lldb/test/Shell/Subprocess/
H A Dfork-follow-child-wp.test9 watchpoint set variable -w write g_val
12 # CHECK: stop reason = watchpoint
14 # CHECK: stop reason = watchpoint
H A Dclone-follow-child-wp.test9 watchpoint set variable -w write g_val
12 # CHECK: stop reason = watchpoint
14 # CHECK: stop reason = watchpoint
H A Dfork-follow-parent-wp.test6 watchpoint set variable -w write g_val
10 # CHECK: stop reason = watchpoint
H A Dvfork-follow-parent-wp.test7 watchpoint set variable -w write g_val
11 # CHECK: stop reason = watchpoint
H A Dclone-follow-parent-wp.test7 watchpoint set variable -w write g_val
11 # CHECK: stop reason = watchpoint
H A Dvfork-follow-child-wp.test9 watchpoint set variable -w write g_val
/llvm-project-15.0.7/lldb/test/Shell/Register/
H A Dx86-db-read.test9 watchpoint set variable -w write g_8w
11 watchpoint set variable -w read_write g_16rw
13 watchpoint set variable -w write g_32w
15 watchpoint set variable -w read_write g_32rw
/llvm-project-15.0.7/lldb/examples/customization/pwd-cd-and-system/
H A DREADME23 /Volumes/data/lldb/svn/trunk/test/functionalities/watchpoint/multiple_threads
26 /Volumes/data/lldb/svn/trunk/test/functionalities/watchpoint/multiple_threads
28 Current working directory: /Volumes/data/lldb/svn/trunk/test/functionalities/watchpoint
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/
H A Dcategories1 watchpoint
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.h71 uint32_t EnableHardwareWatchpoint(const DNBBreakpoint *watchpoint,
75 bool DisableHardwareWatchpoint(const DNBBreakpoint *watchpoint,
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectWatchpointCommand.cpp112 > print "Hit this watchpoint!" in CommandObjectWatchpointCommandAdd()
136 > out_string = "Hit watchpoint number " + repr (wp_no) in CommandObjectWatchpointCommandAdd()
148 > print "Hit this watchpoint " + repr(wp_count) + " times!" in CommandObjectWatchpointCommandAdd()
/llvm-project-15.0.7/lldb/docs/use/
H A Dmap.rst661 … <td class="header" colspan="2">Set a watchpoint on a variable when it is written to.</td>
668 <b>(lldb)</b> watchpoint set variable global_var
676 …<td class="header" colspan="2">Set a watchpoint on a memory location when it is written into. The …
683 <b>(lldb)</b> watchpoint set expression -- my_ptr
691 <td class="header" colspan="2">Set a condition on a watchpoint.</td>
699 <b>(lldb)</b> watchpoint modify -c '(global==5)'
705 …d #1: tid = 0x1c03, 0x0000000100000ef5 a.out`modify + 21 at main.cpp:16, stop reason = watchpoint 1
725 <b>(lldb)</b> watchpoint list
733 <td class="header" colspan="2">Delete a watchpoint.</td>
741 <b>(lldb)</b> watchpoint delete 1

12