public Breakpoint setBreakpoint ( PStm stmt , String condition ) throws ParserException , LexException { BreakpointManager . setBreakpoint ( stmt , new Stoppoint ( stmt . getLocation ( ) , ++ nextbreakpoint , condition ) ) ; breakpoints . put ( nextbreakpoint , BreakpointManager . getBreakpoint ( stmt ) ) ; return BreakpointManager . getBreakpoint ( stmt ) ; }
Set a statement breakpoint . A breakpoint stops execution and allows the user to query the environment .