MCPcopy Index your code
hub / github.com/processing/processing / step

Method step

java/src/processing/mode/java/Debugger.java:278–293  ·  view source on GitHub ↗

Step through source code lines. @param stepDepth the step depth (StepRequest#STEP_OVER, StepRequest#STEP_INTO or StepRequest#STEP_OUT)

(int stepDepth)

Source from the content-addressed store, hash-verified

276 * {@link StepRequest#STEP_INTO} or {@link StepRequest#STEP_OUT})
277 */
278 protected void step(int stepDepth) {
279 if (!isStarted()) {
280 startDebug();
281 } else if (isPaused()) {
282 editor.variableInspector().lock();
283 editor.activateStep();
284
285 // use global to mark that there is a step request pending
286 requestedStep = runtime.vm().eventRequestManager().createStepRequest(currentThread, StepRequest.STEP_LINE, stepDepth);
287 requestedStep.addCountFilter(1); // valid for one step only
288 requestedStep.enable();
289 paused = false;
290 runtime.vm().resume();
291 editor.statusBusy();
292 }
293 }
294
295
296 /** Step over current statement. */

Callers 3

stepOverMethod · 0.95
stepIntoMethod · 0.95
stepOutMethod · 0.95

Calls 10

isStartedMethod · 0.95
startDebugMethod · 0.95
isPausedMethod · 0.95
lockMethod · 0.80
variableInspectorMethod · 0.80
resumeMethod · 0.80
statusBusyMethod · 0.80
activateStepMethod · 0.45
vmMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected