Just open the FireBug panel and you'll see exactly what the problem is - no more scouring through reams of script in the JavaScript Console window. Particularly handy is the FireBug icon in the Firefox status bar which tells you instantly if your page is broken.
The debugger sets breakpoints in your scripts and examines every step of execution in real time.