Package org.eclipse.debug.core

Examples of org.eclipse.debug.core.DebugException


    }

    public static void log(Throwable t) {
        Throwable top = t;
        if ( t instanceof DebugException ) {
            DebugException de = (DebugException) t;
            IStatus status = de.getStatus();
            if ( status.getException() != null ) {
                top = status.getException();
            }
        }
        log( new Status( IStatus.ERROR,
View Full Code Here


    }

    public static void log(Throwable t) {
        Throwable top = t;
        if ( t instanceof DebugException ) {
            DebugException de = (DebugException) t;
            IStatus status = de.getStatus();
            if ( status.getException() != null ) {
                top = status.getException();
            }
        }
        log( new Status( IStatus.ERROR,
View Full Code Here

    }

    public static void log(Throwable t) {
        Throwable top = t;
        if ( t instanceof DebugException ) {
            DebugException de = (DebugException) t;
            IStatus status = de.getStatus();
            if ( status.getException() != null ) {
                top = status.getException();
            }
        }
        log( new Status( IStatus.ERROR,
View Full Code Here

                String message = "";

                for ( int i = 0; i < errorMessages.length; i++ ) {
                    message += errorMessages[i] + "\n";
                }
                throw new DebugException(new Status(IStatus.ERROR,
                    DroolsEclipsePlugin.PLUGIN_ID, DroolsEclipsePlugin.INTERNAL_ERROR,
                    "Error when compiling snippet " + snippet + ": " + message, null));
            }
            fResult = null;
            fEvaluationEngine.evaluateExpression(compiledExpression,
View Full Code Here

               
                fireChangeEvent(DebugEvent.CONTENT);
            }
            catch (IOException e)
            {
                throw new DebugException(new Status(
                    IStatus.ERROR,
                    PerlDebugPlugin.getUniqueIdentifier(),
                    IStatus.OK,
                    "An error occurred while retrieving variables from the debugger process",
                    e));
View Full Code Here

            }
        }
        catch (Exception e)
        {
            PerlDebugPlugin.log(e);
            throw new DebugException(new Status(
                Status.ERROR,
                PerlDebugPlugin.getUniqueIdentifier(),
                Status.OK,
                "An error occurred while dumping global variables; " +
                "contents of the Variables view may become invalid",
View Full Code Here

            }
        }
        catch (Exception e)
        {
            PerlDebugPlugin.log(e);
            throw new DebugException(new Status(
                Status.ERROR,
                PerlDebugPlugin.getUniqueIdentifier(),
                Status.OK,
                "An error occurred while dumping Perl internal variables; " +
                "contents of the Variables view may become invalid",
View Full Code Here

                    r.nextEntity()));
            }
        }
        catch (Exception e)
        {
            throw new DebugException(new Status(
                Status.ERROR,
                PerlDebugPlugin.getUniqueIdentifier(),
                Status.OK,
                "An error occurred while dumping local variables; " +
                "contents of the Variables view may become invalid",
View Full Code Here

      return holder.getDebuggerInterface().eval(code);
    }
    catch (IOException e)
    {
      throw new DebugException(new Status(
          IStatus.ERROR,
          PerlDebugPlugin.getUniqueIdentifier(),
          IStatus.OK,
          "An error occurred while retrieving variables from the debugger process",
          e));
View Full Code Here

    }

    public void suspend() throws DebugException
    {
        // TODO support suspend on demand
        throw new DebugException(
            new Status(
                Status.ERROR,
                PerlDebugPlugin.getUniqueIdentifier(),
                Status.OK,
                "Suspend not supported",
View Full Code Here

TOP

Related Classes of org.eclipse.debug.core.DebugException

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.