I have a function in a separate .js file called jQuery.loadjson.js. That being called from my HTML page with the syntax $('#data').loadJSON(data);
#data is a div and data is a JSON object. Now, when I debug that in Firebug, it just does not go to the definition.
In Firebug, enable ‘use strict warnings’ from the drop down on the console tab, then load the page again and see what you get.
If it’s still not obvious what’s wrong, post the last entries from the console log here. Make sure it’s set to ‘show all’ so you don’t miss anything!
If it gets to that line but never goes to the definition, my guess would be that the data variable is undefined, or that loadJSON() is not being attached to that object.