DocsDebugBreakpoint & Step-by-Step

Breakpoints and step-by-step debugging (F9 / F10) in RunMacro

Desktop ModeBrowser ModeRunMacro RunnerRunMacro 3.5+

Breakpoints and single-stepping (F9/F10) let you pause macros before target commands, inspect live variables, and step line-by-line.

Dialog & quick setup

RunMacro Breakpoint & Step-by-Step command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Breakpoint & Step-by-Step command in RunMacro.
  1. Open the workflow in RunMacro Studio.
  2. Click the row number gutter on target command row, or select it and press F9 (or Ctrl+B). A vibrant red circle badge appears.
  3. Press Run Macro.
  4. Upon reaching the breakpoint, execution pauses before the command, Studio restores to the front, and the Variables panel refreshes live.
  5. Press F10 (or the Step toolbar button) to execute exactly one command, or press Resume to run normally.
  6. To remove breakpoints, click the red badge again or choose Clear All Breakpoints from the context menu. Save.

Options reference

Toggle Breakpoint Hotkey (F9 / Ctrl+B)

Sets or clears the red circular breakpoint on the currently selected command row.

Single Step Execution (F10)

Executes exactly one command at the paused position and halts at the next command.

Automatic Studio Window Elevation

When a breakpoint fires, Studio automatically unminimizes and brings itself forward.

Live Variables Watch Panel

Automatically refreshes and displays all variable values, arrays, and iterators upon pausing.

Clear All Breakpoints

Clears every active breakpoint across the workflow in a single click from the context or Play menu.

Modes & when to use

Desktop Mode
Browser Mode
RunMacro Runner

Best for

  • Isolating why a calculated variable or extracted string is drifting at a specific step in the workflow.
  • Inspecting UI state and live data immediately before triggering critical actions (e.g. submitting payments or deleting records).
  • Stepping through newly created macros command-by-command using F10 to verify mouse and keyboard actions.
  • Observing how loop variables and extracted payloads transform across iteration cycles.

Use an alternative when

  • Unattended server execution (clear breakpoints before production deployment).
  • Pausing workflows specifically for manual user interactions (use Pause instead).
Before you run
  • The workflow is opened in RunMacro Studio editor.
  • The bottom Variables panel tab is visible to observe state changes upon pausing.

Example workflow

Example: Set breakpoint before form submission and step through

  1. Set a breakpoint on the "Confirm" Click command using F9.
  2. Run macro; execution automatically halts right before clicking.
  3. Inspect filled form fields and variable values in the Variables watch tab.
  4. Press F10 to observe the click executing, after which execution pauses again.
Expected result: The runner pauses execution immediately prior to the breakpoint row, raising Studio and enabling F10 step debugging.

Tips & limitations

Breakpoints reside in Studio runtime memory, leaving underlying .pmacro project files completely unchanged.
Use the Go to stopped position (bug-play) toolbar button to jump straight back to the paused command row.
  • Breakpoints are ephemeral studio session state; closing the app discards transient breakpoints without modifying files.
  • Step execution via F10 requires interactive Studio desktop sessions and is unsupported in headless CLI mode.

Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode & RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.