Stop Motors when breakpoint is hit.

Hi, is there, or could there be an option which stops all the motors when a breakpoint is hit.

just had a few potentially nasty things happen because I forgot that any motors running would just keep going.

thanks
Steve

Unfortunately, there is no way to stop the motors when a breakpoint is reached (unless a stop motor command is placed before the breakpoint, or if you manually create a stop motor function and call it before the breakpoint). The reason for this is because the breakpoints simply halt the program flow at the specified point; they don’t stop anything that is happening in the background.

Thanks, I was just thinking that as it was a virtual machine you may have had a bit more control when a breakpoint was hit.
anyway will just have to remember to stick in suitable commands just before a breakpoint.
Steve