Lines Matching refs:bkpt
44 bkpt = target.BreakpointCreateByLocation("main.c", self.line)
47 self.assertEqual(bkpt.GetNumLocations(), 3, "Wrong number of locations")
59 return bkpt
68 bkpt = self.set_breakpoint()
70 bkpt.SetCondition(bkpt_cond)
71 self.assertEqual(bkpt.GetCondition(), bkpt_cond,"Successfully set condition")
72 … self.assertEquals(bkpt.location[0].GetCondition(), bkpt.GetCondition(), "Conditions are the same")
76 bkpt.location[0].SetCondition(bkpt_loc_1_cond)
77 …self.assertEqual(bkpt.location[0].GetCondition(), bkpt_loc_1_cond, "Successfully changed location …
78 …self.assertNotEqual(bkpt.GetCondition(), bkpt_loc_1_cond, "Changed location changed Breakpoint con…
79 …self.assertEqual(bkpt.location[1].GetCondition(), bkpt_cond, "Changed another location's condition…
82 bkpt.SetIgnoreCount(10)
83 self.assertEqual(bkpt.GetIgnoreCount(), 10, "Set the ignore count successfully")
84 … self.assertEqual(bkpt.location[0].GetIgnoreCount(), 10, "Location doesn't track top-level bkpt.")
87 bkpt.location[0].SetCondition("")
89 bkpt.SetCondition(bkpt_new_cond)
90 …self.assertEqual(bkpt.location[0].GetCondition(), bkpt_new_cond, "Didn't go back to tracking condi…
99 bkpt = self.set_breakpoint()
104 bkpt.SetCommandLineCommands(str_list)
106 bkpt.GetCommandLineCommands(cmd_list)
115 bkpt.location[1].SetCommandLineCommands(loc_list)
117 bkpt.location[1].GetCommandLineCommands(loc_cmd_list)
133 bkpt.location[0].GetCommandLineCommands(untouched_loc_cmds)