Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

i have some thing javascript functions like this

function onSelectRow_${itemid}(){
   something;
}

this it is appearing like this in firebug script tab

function onSelectRow_87878(){
     something;
}

I put multiple break points(it has more than 20 lines , i put one ine for example.) in firebug-> script tab.

But the problem is, firebug not able to do debug these methods, ie. it is not stoping execution it executing as usual. I tried multiple times.

this is my actual code and use:

function onSelectRow_${escapedId }(rowId){
}


<jqgrid:grid onSelectRow="onSelectDeviceRow_${escapedId }"

DO you have any solution for it please

share|improve this question
3  
How are you generating these functions? And why? – elclanrs Jan 23 '14 at 5:29

1 Answer 1

up vote 4 down vote accepted

You can use debugger

function onSelectRow_87878()
{
     debugger; //add here
     something;
}

When you open Firebug, enable Script,and it will automatically go to the debugger point

debugging in firefox

share|improve this answer
    
thanks my dear friend SBK, you solved... – Ravi Feb 26 '14 at 5:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.