javascript - See the values inside a object literal in chrome devtools . -
i playing around jbox.js , espically tooltip functionality of particular plugin , click on tooltip following code executed:
this.pointer = { // "position" "bottom" in scenario. position: (this.options.pointto != 'target') ? this.options.pointto : this._getopp(this.outside), // "xy" "y" in scenario. xy: (this.options.pointto != 'target') ? this._getxy(this.options.pointto) : this._getxy(this.outside), align: 'center', offset: 0 };
(ofcourse alot more lines of code executed , interested in lines of code.)
if check source
in chrome , open jbox.js file above snippet on 575th line, link here.
now if check object literal, when script gets executed , possible see in source
tab in chrome actual values of position
, xy
? 1 , question.
i know possible function, i.e. if have function, can set breakpoint , line of code gets executed see in source values of parameter's . can same acheived snippet of code posted above ?
it of immense if can answered, because debugging script above 500 lines of code , console.logging stuff getting quite tedious.
thank you.
alex-z.
Comments
Post a Comment