Lines Matching refs:tracer

20             control to the tracer [1] do not trigger a tracer event and in
71 # state of the tracer is printed after running each set_*() method of the test
165 """A tracer for testing the bdb module."""
368 # The following set methods give back control to the tracer.
383 # The following set methods do not give back control to the tracer and
419 self.tracer = Tracer(test_case.expect_set, skip=skip,
427 return self.tracer
434 if self.tracer.set_list:
437 self.tracer.expect_set_no)
530 with TracerRun(test, skip=skip) as tracer:
531 tracer.runcall(tfunc_import)
595 with TracerRun(self) as tracer:
596 tracer.runcall(tfunc_main)
609 with TracerRun(self) as tracer:
610 tracer.runcall(tfunc_main)
620 with TracerRun(self) as tracer:
621 tracer.runcall(tfunc_main)
634 with TracerRun(self) as tracer:
635 tracer.runcall(tfunc_import)
646 with TracerRun(self) as tracer:
647 tracer.runcall(tfunc_main)
650 # Check that set_next() in the caller frame causes the tracer
659 with TracerRun(self) as tracer:
660 tracer.runcall(tfunc_main)
671 with TracerRun(self) as tracer:
672 tracer.runcall(tfunc_main)
682 with TracerRun(self) as tracer:
683 tracer.runcall(tfunc_main)
693 with TracerRun(self) as tracer:
694 tracer.runcall(tfunc_main)
703 with TracerRun(self) as tracer:
704 tracer.runcall(tfunc_main)
714 with TracerRun(self) as tracer:
715 tracer.runcall(tfunc_main)
740 with TracerRun(self, skip=skip) as tracer:
741 tracer.runcall(tfunc_import)
755 with TracerRun(self) as tracer:
756 self.assertRaises(BdbError, tracer.runcall, tfunc_main)
765 with TracerRun(self) as tracer:
766 tracer.runcall(tfunc_main)
775 with TracerRun(self) as tracer:
776 self.assertRaises(BdbError, tracer.runcall, tfunc_import)
788 with TracerRun(self) as tracer:
789 self.assertRaises(BdbError, tracer.runcall, tfunc_import)
811 with TracerRun(self) as tracer:
812 tracer.runcall(tfunc_import)
839 with TracerRun(self) as tracer:
840 tracer.runcall(tfunc_import)
859 with TracerRun(self) as tracer:
860 tracer.runcall(tfunc_import)
878 with TracerRun(self) as tracer:
879 tracer.runcall(tfunc_import)
899 with TracerRun(self) as tracer:
900 tracer.runcall(tfunc_import)
926 with TracerRun(self) as tracer:
927 tracer.runcall(tfunc_import)
951 with TracerRun(self) as tracer:
952 tracer.runcall(tfunc_import)
958 with TracerRun(self) as tracer:
959 self.assertRaises(BdbError, tracer.runcall, tfunc_import)
1016 with TracerRun(self) as tracer:
1017 tracer.run(compile(textwrap.dedent(code), '<string>', 'exec'))
1035 with TracerRun(self) as tracer:
1036 tracer.runeval('test_module_for_bdb.main()', globals(), locals())
1043 # Check that the tracer does step into the caller frame when the
1068 with TracerRun(self) as tracer:
1069 tracer.runcall(tfunc_import)
1109 with TracerRun(self) as tracer:
1110 tracer.runcall(tfunc_import)
1140 with TracerRun(self) as tracer:
1141 tracer.runcall(tfunc_import)
1171 with TracerRun(self) as tracer:
1172 tracer.runcall(tfunc_import)
1202 with TracerRun(self) as tracer:
1203 tracer.runcall(tfunc_import)