Skip to content

Commit dad50fe

Browse files
committed
Add extra printing to TestWatchpointCount.py to debug CI fail
The way the locals are laid out on the stack on x86-64 Debian is resulting in a test failure with the new large watchpoint support. Collecting more logging before I revert/debug it.
1 parent 372f7dd commit dad50fe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ def test_watchpoint_count(self):
2929
second_watch = second_var.Watch(True, False, True, error)
3030
if not error.Success():
3131
self.fail("Failed to make watchpoint for x2: %s" % (error.GetCString()))
32+
# LWP_TODO: Adding temporary prints to debug a test
33+
# failure on the x86-64 Debian bot.
34+
self.runCmd("p &x1")
35+
self.runCmd("p &x2")
36+
self.runCmd("watchpoint list")
37+
3238
process.Continue()
3339

3440
stop_reason = thread.GetStopReason()
@@ -39,6 +45,11 @@ def test_watchpoint_count(self):
3945
self.assertEqual(stop_reason_descr, "watchpoint 1")
4046

4147
process.Continue()
48+
# LWP_TODO: Adding temporary prints to debug a test
49+
# failure on the x86-64 Debian bot.
50+
self.runCmd("frame select 0")
51+
self.runCmd("disassemble")
52+
4253
stop_reason = thread.GetStopReason()
4354
self.assertStopReason(
4455
stop_reason, lldb.eStopReasonWatchpoint, "watchpoint for x2 not hit"

0 commit comments

Comments
 (0)