def set_breakpoint(self):
        if self.moduleId >= 0:
            self.scene().toggle_breakpoint(self.moduleId)
            self.setBreakpoint(not self.is_breakpoint)
        debug = get_default_interpreter().debugger
        if debug:
            debug.update()
Testing to see whether the gradient can be calculated.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/pipeline_view.py/QGraphicsConfigureItem.set_breakpoint--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/rnn/models/tests/test_rnn.py/TestRNNs.test_gradient