Set a script breakpoint to pause execution and enter debugger

Idea created by jrenfrew on Oct 27, 2015
    Active
    Score5
    • jrenfrew
    • Peter Wagemans
    • Chris Irvine
    • David Weiner
    • Fred(CH)

    Context:

    When running long or complex scripts, it has became a practise to deliberately force an error and then turn PauseOnError on in the debugger to be able to pause at a specific point.

    This is not good practise, and the scripts may cause many other 'errors' along the way - like go to next record, exit after last, meaning that the script debugger has to be closed many times before getting to the desired point for troubleshooting

     

    Idea:

    A BREAK flag in the left margin which will always pause and open script debugger at that point, but independently of whether the PauseOnError is checked, allowing better and simple script debugging.