Package org.eclipse.debug.core.model

Examples of org.eclipse.debug.core.model.IWatchExpressionResult


  public void evaluateExpression(final String expression, final IDebugElement context,
      final IWatchExpressionListener listener) {
    final DebugElementImpl contextImpl = (DebugElementImpl) context;
    if (!contextImpl.getDebugTarget().isSuspended()) {
      // can only evaluate while suspended. Notify empty result.
      listener.watchEvaluationFinished(new IWatchExpressionResult() {

        public String[] getErrorMessages() {
          return EMPTY_STRINGS;
        }
View Full Code Here


  public void evaluateExpression(final String expression, final IDebugElement context,
      final IWatchExpressionListener listener) {
    final DebugElementImpl contextImpl = (DebugElementImpl) context;
    if (!contextImpl.getDebugTarget().isSuspended()) {
      // can only evaluate while suspended. Notify empty result.
      listener.watchEvaluationFinished(new IWatchExpressionResult() {

        public String[] getErrorMessages() {
          return EMPTY_STRINGS;
        }
View Full Code Here

    @Override
    public void run(IProgressMonitor monitor) throws CoreException {
      try {
        final IVariable var = findVariableForName(fStackFrame, fExpression);
        if (var != null) {
          IWatchExpressionResult watchResult= new IWatchExpressionResult() {
            @Override
            public IValue getValue() {
              try {
                return var.getValue();
              } catch (DebugException ex) {
View Full Code Here

TOP

Related Classes of org.eclipse.debug.core.model.IWatchExpressionResult

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.