Javascript: "Breaking on JScript runtime error: object required"
===

Every time I debug my JS in IE8, I am greeted with "Breaking on JScript runtime error: object required". Here's the kicker: this code worked an hour ago.

    var current = parseInt(0);

    function readXML()
    {
    current = xmlDoc.getElementsByTagName("KILLS")[0].childNodes[0].nodeValue;
    total = parseInt(total) + parseInt(current);
    pass = parseInt(pass) + parseInt(1);
    }

The error occurs specifically on the line where I assign 'current' to a value from an XML document.

I'm about to pull my hair out here, I'd really appreciate some help.