Fix exception when resolving function breakpoints.