R
R0bert Neville
This inquiry is for Venkman users. I am debugging a complex JavaScript
routine. Venkman has the ability to trigger break points based on
specific criteria or functions. I need the debugger to break on a div
element. My JavaScript creates an array of all ul elements. It is
recursive and finds additional list until none exist. The problem
occurs when it places a div element in the array. I can not find where
the code goes down the wrong path.
These links gave me an understanding about debugging and Venkman.
Please let me know if have any further suggestions.
http://www.svendtofte.com/code/learning_venkman/
http://www.mozilla.org/projects/venkman/venkman-walkthrough.html
I have tried the following expressions in Venkman's breakpoint trigger
function.
menu.parentNode.nodeName.toLowerCase() =="div";
menu.parentNode.localName.toLowerCase() =="div";
menu.parentNode.tagName.toLowerCase() == "div";
routine. Venkman has the ability to trigger break points based on
specific criteria or functions. I need the debugger to break on a div
element. My JavaScript creates an array of all ul elements. It is
recursive and finds additional list until none exist. The problem
occurs when it places a div element in the array. I can not find where
the code goes down the wrong path.
These links gave me an understanding about debugging and Venkman.
Please let me know if have any further suggestions.
http://www.svendtofte.com/code/learning_venkman/
http://www.mozilla.org/projects/venkman/venkman-walkthrough.html
I have tried the following expressions in Venkman's breakpoint trigger
function.
menu.parentNode.nodeName.toLowerCase() =="div";
menu.parentNode.localName.toLowerCase() =="div";
menu.parentNode.tagName.toLowerCase() == "div";