ArgumentOutOfRangeException with no line references

For some reason, I receive the following errors when I try to build to Android. I am able to run this with no errors in the editor, though (and through Unity Remote). No idea where to start fixing this, as there are no line numbers referenced at all…

Error building Player: ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
0
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Exception: Error building Player: ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
0
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun ()

Apparently this was due to how I had a dictionary as a parameter in one of the functions, without explicitly setting the key/value

i.e. function blah(dic:smile:ictionary) instead of function blah(dictionary:smile:ictionary.<String,String>)

This took a lot of head banging and copy/cutting code out to see what was wrong. I wonder if there is a better methodology for debugging?