Hybrid View
-
25 Jul 2008 3:10 PM #1
firebug breakpoints not working on cellClick
firebug breakpoints not working on cellClick
So I seem to be having a real problem with firebug today.
it won't stop at a breakpoint within a cellclick.
I know it's getting there because the window opens.
it's making me a little nuts.
I have done this same thing many times, any idea ?
any idea why or what I may have done ?
Code:grid.addListener({ 'cellclick' : { fn : function(grid, rowIndex, columnIndex, event) { //Place breakpoint on the next few lines. var record = grid.getStore().getAt(rowIndex); window.show(); Ext.getCmp("firstNameid").setValue(record.data.firstName); Ext.getCmp("lastNameid").setValue(record.data.lastName); Ext.getCmp("middleInitialid").setValue(record.data.middleInitial); Ext.getCmp("line1id").setValue(record.data.line1); Ext.getCmp("line2id").setValue(record.data.line2); Ext.getCmp("cityid").setValue(record.data.city); Ext.getCmp("stateid").setValue(record.data.state); Ext.getCmp("zipCodeid").setValue(record.data.zipCode); }, scope : this } });
-
28 Jul 2008 8:23 AM #2
I havent had good luck with setting breakpoints in firebug itself, so I always just insert a 'debugger' command into the code. Have you tried this?
-
28 Jul 2008 9:11 AM #3
which line of that code are you setting the breakpoint. It would need to be inside the function itself.
-
28 Jul 2008 9:58 AM #4
FB 1.2b* on FF3 is flaky. Sometimes I can't get breakpoints to break, sometimes I can.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
28 Jul 2008 11:34 AM #5
I often have a similar problem, and find that setting a breakpoint, crashing FF.. and then recovering the last session when I relaunch it, fixes it for me.
Certainly far from ideal.. but less frustrating than it not working at all... let me know if this works for you too.
-
28 Jul 2008 11:52 AM #6
I upgraded to ff3 & firebug 1.2.0b.7
seems to be working better, if I have issues again I my try the debugger statement
I was using ff2.2 and firebug "I forgot"
I was waiting for ff 3.01 as I tend to not like .0 versions.
-
28 Jul 2008 12:18 PM #7
yah FF3 does still certainly have some issues. I am not sure whos fault it is, firebug or firefox, but "break on all errors" doesnt work in FF3/FB1.2. Its rather annoying, and ive seen no fix for it yet...
-
28 Jul 2008 1:16 PM #8
I have got break on all errors to work in FB1.2b7
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642



Reply With Quote