debugging - Yii and bootstrap: How debug jQuery when I get a strange behavior? -


i have problems developing yii application jquery. using firebug, when click in tab, can see navigator makes lot of calls: twice home page, 4 original destination, etc; can't see how happens. calls occurs , don't know where. however, if debug , see calls made, i'm pretty sure resolve it.

my question: how debug jquery in case?

edit: thank help. explain more problem. design of webpage. when click in "zones" tab, load webpage in contentarea_zone. have tabs (the tabs courtesy bootstrap extension yii, use jquery too)

enter image description here

when click on tab "description", see calls in firebug console.

enter image description here

but can't see come from. , if read right of firebug console, see "jquery.js" , line numbers, jquery library have 9405 lines. don't know why firebug reports calls in line 10079, 10692, etc.

i'm lost. if problem remains unclear, me lot if recommend me suitable tool or method debugging case...

edit 2: recommendations, started using firebug options. found library causes repeated calls bootstrap.js. seems that, @ finishing load tab "description", have accumulated "callbacks". but, still don't know these callbacks come. ideas?

place keyword

debugger; 

from want debug code. code execution break there , firebug console can step into,over code , step step follow execution of code

tips , tricks


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -