Examples of PyExceptionBreakPointManager


Examples of org.python.pydev.debug.model.PyExceptionBreakPointManager

     * The default value for suspend on uncaught exception is false
     *
     * @param composite
     */
    private void createCaughtUncaughtCheck(Composite composite) {
        PyExceptionBreakPointManager instance = PyExceptionBreakPointManager.getInstance();
        String breakOnCaught = instance.getBreakOnCaughtExceptions();
        String breakOnUncaught = instance.getBreakOnUncaughtExceptions();

        uncaughtExceptionCheck = new Button(composite, SWT.CHECK);
        uncaughtExceptionCheck.setText("Suspend on uncaught exceptions");
        if (breakOnUncaught.length() > 0) {
            uncaughtExceptionCheck.setSelection(Boolean.parseBoolean(breakOnUncaught));
View Full Code Here

Examples of org.python.pydev.debug.model.PyExceptionBreakPointManager

        if (newInput == null) {
            return;
        }

        PyExceptionBreakPointManager instance = PyExceptionBreakPointManager.getInstance();
        List<String> list = instance.getBuiltinExceptions();
        list.addAll(instance.getUserConfiguredExceptions());

        elementsForCurrentInput = list.toArray(new String[0]);
    }
View Full Code Here

Examples of org.python.pydev.debug.model.PyExceptionBreakPointManager

        super(debugger);
    }

    @Override
    public String getOutgoing() {
        PyExceptionBreakPointManager instance = PyExceptionBreakPointManager.getInstance();
        String pyExceptions = instance.getExceptionsString().trim();
        String breakOnUncaught = instance.getBreakOnUncaughtExceptions().trim();
        String breakOnCaught = instance.getBreakOnCaughtExceptions().trim();

        return makeCommand(AbstractDebuggerCommand.CMD_SET_PY_EXCEPTION, sequence,
                com.aptana.shared_core.string.StringUtils.join(ConfigureExceptionsFileUtils.DELIMITER, breakOnUncaught, breakOnCaught, pyExceptions));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.