Re: What do people use Venkman for?
"7stud" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
> > > > Secondly, doesn't having to step through all the variable declarations > > essentially make Venkman useless for large scripts? Someone might have to > > step through 50 variable declarations interspersed in 1,000 lines of code > > just to get to the start of the script? > > Breakpoints are your friend. > Use them to stop at the place you're interested in. > How does setting a breakpoint help? If someone were to set a breakpoint on the first line of code, Venkman would stop there, and then the person would still have to traverse 50 variable declarations in 1,000 lines of code before getting to the start of execution. How does setting a breakpoint allow you to skip having to step through all the variable declarations? In other words, if you set a breakpoint at line 1, how does Venkman know whether you want to follow it as it hunts for all the variable declarations, or you want to skip past all that and start with execution at line 1?