breakpoint = target.BreakpointCreateByLocation("main.c", 1)
self.assertTrue(breakpoint.IsHardware())
+ @skipIfWindows
def test_step_range(self):
"""Test stepping when hardware breakpoints are required."""
self.build()
self.assertTrue("Could not create hardware breakpoint for thread plan"
in error.GetCString())
+ @skipIfWindows
def test_step_out(self):
"""Test stepping out when hardware breakpoints are required."""
self.build()
self.assertTrue("Could not create hardware breakpoint for thread plan"
in error.GetCString())
+ @skipIfWindows
def test_step_over(self):
"""Test stepping over when hardware breakpoints are required."""
self.build()
'Could not create hardware breakpoint for thread plan'
])
+ @skipIfWindows
def test_step_until(self):
"""Test stepping until when hardware breakpoints are required."""
self.build()