Closed Bug 201686 Opened 22 years ago Closed 6 years ago

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

Categories

(Other Applications Graveyard :: Venkman JS Debugger, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: michaelf, Assigned: rginda)

Details

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: 1. 2. 3.
Product: Core → Other Applications
QA Contact: caillon → venkman
Component is obsolete so resolving bugs as INCOMPLETE
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.