Initial support for breakpoints. Abstracted some variables.