

@server_side
def dispatch(self):
    try:
        bps = voltron.debugger.breakpoints()
        res = APIBreakpointsResponse(breakpoints=bps)
    except NoSuchTargetException:
        res = APINoSuchTargetErrorResponse()
    except Exception as e:
        msg = 'Exception getting breakpoints: {}'.format(repr(e))
        log.exception(msg)
        res = APIGenericErrorResponse(msg)
    return res

dataset/ETHPy150Open snare/voltron/voltron/plugins/api/breakpoints.py APIBreakpointsRequest.dispatch/original