I'm getting a "line 2: not a function object" error message when resetting, what does this mean?
The "line n: not a function object" usually indicates that a function call is being made to a non-existent function in the reset script or that your project does not have a reset script associated with it.
Check the following:
- Check that your project has a reset script file added to it and that it has been assigned the file type "Reset Script". To do this select the reset script in the project explorer window, right click and select Properties, select Common in the Configuration combo box and ensure that the File Type project property is set to Reset Script.
- Check that the script specified by the Target | Reset Script project property is making a call to a function that exists in the reset script.
Comments
1 comment
Just adding a comment. This happened to me when I had a multi-project solution with a library and the executable was not active. Makes sense, since only the executable had a reset script and it wasn't selected, though the error is confusing...
Please sign in to leave a comment.