Package org.python.pydev.debug.model

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


        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

        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

Related Classes of org.python.pydev.debug.model.PyExceptionBreakPointManager

Copyright © 2018 www.massapicom. 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.