RFE - The ability to pass to commands like /step, /next and /cont a int param indicating how many times you'd like that command repeated

Assigned to


Other Applications
Venkman JS Debugger
15 years ago
10 years ago


(Reporter: Michael Flanagan, Assigned: Robert Ginda)


Firefox Tracking Flags

(Not tracked)




15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

It would be really nice to be able to pass an integer parameter to commands like
/step, /next and /cont. The parameter would indicate how many times the
interactive debugger should repeat the command when it stops for user input.

While the benefit to commands like /step and /next are fairly obvious, it would
also be a handy thing to have on the /cont command as well.

Lets say that I have a piece of JavaScript code that gets repeated a number of
times. I want to insert a debugger; statement into that loop so that I can
inspect the runtime values of some parameter. Often times, I will know how many
times the loop will be called, but am only interested in actually examining the
value of a parameter at a specific iteration of the loop.

It situations like this, it would be nice to be able to say /cont 5 to have the
debugger continue the next time 5 times it encounters the 'debugger;' statement
and then break at the point in the loop in which I'm interested in.

There is some danger in being able to pass a parameter to these commands. Lets
say I said '/cont 100' by mistake. I should be able to immediately follow this
up with '/cont 10' and have this over write the previous value I passed to the
/cont command. This ability should apply to all commands are repeatable.

There should really be some visual representation of the number of commands
currently queued, something that would let me see that I accidentally said
'/cont 100' when I really meant to say '/cont 10'.

Reproducible: Always

Steps to Reproduce:
Product: Core → Other Applications


10 years ago
QA Contact: caillon → venkman
You need to log in before you can comment on or make changes to this bug.