Short name describing what triggered the graph break
non-generator contextlib.contextmanager
Values or code snippet captured at the break point
str(self.vt.get_code())
Explanation of why the graph break was triggered
Cannot compile function decorated with @contextlib.contextmanager
that is not a generator, i.e. does not use yield
Hints on how to resolve the graph break
yield
in the function body instead of return
.@contextlib.contextmanager
decorator.