There is a jQuery plugin. I set a variable to its config property as follows:
var myVar = "1:a;2:b;3:c";
$el.jsPlugin1({
prop1: myVar
});
And for a reason the plugin treats myVar other than I expect it to. So I would like to set breakpoints in the browser devtools to every occurrences of the property prop1. So that then I could track it and figure out why it acts differently. The issue is that there are about a hundred of occurrences of that property. And setting breakpoints manually to every occurrence is quite annoying.
Is there a way to automate it? Maybe there is an IDE or a trick in devtools that can help me to track the particular property usage. Thanks a lot in advance!
UPD. Using of object.watch is not an acceptable approach because that function is triggered when the propery is changed. But in my case the property never changes. It is just requested and somehow parsed.