C++-ify breakpoint tracking in order to remote tree.h.