private Command createBreakpointCommand()
     throws ControllerException, ScriptException {
        input.advance();
        String[] args = readArgs(2);

        // count args
        int count;
        for (count = 0; count < args.length && args[count] != null; count++);

        if (count < 2)
            scriptError("Not enough arguments");

        String value = args[1];
        if (value.startsWith("%S"))
            value = value.substring(2);
        else if (args[1].startsWith("%"))
            value = Conversions.toDecimalForm(value);

        Breakpoint breakpoint = new Breakpoint(args[0], value);

        return new Command(Command.BREAKPOINT_COMMAND, breakpoint);
    }