Debugger Error:Invalid scope kind

BlitzMax Forums/BlitzMax Beginners Area/Debugger Error:Invalid scope kind

If I comment out the RemoveLink(previousPathLink ) I no longer get this error, although I haveno reason why....