src/actions/breakpoints/syncBreakpoint.js
function findExistingBreakpoint(state, generatedLocation) {
  const breakpoints = getBreakpointsList(state);

  return breakpoints.find(bp => {
    return (
      bp.generatedLocation.sourceUrl == generatedLocation.sourceUrl &&
      bp.generatedLocation.line == generatedLocation.line &&
      bp.generatedLocation.column == generatedLocation.column
    );
  });
}
function findExistingBreakpoint(state, generatedLocation) {
  const breakpoints = getBreakpointsList(state);

  return breakpoints.find(bp => {
    return (
      bp.generatedLocation.sourceUrl == generatedLocation.sourceUrl &&
      bp.generatedLocation.line == generatedLocation.line &&
      bp.generatedLocation.column == generatedLocation.column
    );
  });
}
function findExistingBreakpoint ( state , generatedLocation ) { const breakpoints = getBreakpointsList ( state ) ; return breakpoints . find ( bp => { return ( bp . generatedLocation . sourceUrl == generatedLocation . sourceUrl && bp . generatedLocation . line == generatedLocation . line && bp . generatedLocation . column == generatedLocation . column ) ; } ) ; }
Look for an existing breakpoint at the specified generated location.
Look for an existing breakpoint at the specified generated location .