Skip to content
SoftLee

Guide

Setting and using a breakpoint

Pause a live request or response, change it, then forward or abort it.

A breakpoint pauses a live call so you can change it before it continues. Use one to see how your app handles a slow response, a malformed payload or an error status, without waiting for it to happen naturally.

  1. A request's menu with Edit and Replay, Add to Compare, Add Breakpoint, Map Locally and Copy / Export
    A request's menu with Edit and Replay, Add to Compare, Add Breakpoint, Map Locally and Copy / Export

    Step 01

    Add a breakpoint from a call

    Open a captured call for the API you want to pause, tap the … menu, and choose Add Breakpoint for this API.

  2. Configuring a single breakpoint rule, with request and response stage toggles
    Configuring a single breakpoint rule, with request and response stage toggles

    Step 02

    Configure the rule

    Choose the method and path to match. A path ending in * matches anything after it, such as /v1/profile/*. Under Break On, choose Request, Response, or both.

  3. Breakpoints screen with the master switch and a list of rules
    Breakpoints screen with the master switch and a list of rules

    Step 03

    Check the master switch

    Open Breakpoints from the Tools tab. The master switch turns all rules on or off at once. Each rule also has its own switch, so you can keep rules ready without them firing.

  4. A paused request open in the breakpoint editor, with Forward and Abort
    A paused request open in the breakpoint editor, with Forward and Abort

    Step 04

    Edit the paused call

    When a matching call arrives, SoftLee pauses it and opens the editor. Change the headers or body, or for a response, the status too.

  5. A paused response open for editing, with its status code, headers and body, and Forward and Abort
    A paused response open for editing, with its status code, headers and body, and Forward and Abort

    Step 05

    Forward or abort

    Tap Forward to send the call on, edited, or Abort to fail it. If several calls are paused, they wait in a queue in the order they arrived.

  6. Step 06

    Come back from another app

    If a call pauses while you're using another app, a notification appears. Tap it to go straight to the paused call.