Search in sources :

Example 11 with Debugger

use of org.eclipse.che.ide.debug.Debugger in project che by eclipse.

the class EvaluateExpressionAction method updateInPerspective.

@Override
public void updateInPerspective(ActionEvent event) {
    Debugger debugger = debuggerManager.getActiveDebugger();
    event.getPresentation().setEnabled(debugger != null && debugger.isSuspended());
}
Also used : Debugger(org.eclipse.che.ide.debug.Debugger)

Example 12 with Debugger

use of org.eclipse.che.ide.debug.Debugger in project che by eclipse.

the class StepIntoAction method updateInPerspective.

@Override
public void updateInPerspective(ActionEvent event) {
    Debugger debugger = debuggerManager.getActiveDebugger();
    event.getPresentation().setEnabled(debugger != null && debugger.isSuspended());
}
Also used : Debugger(org.eclipse.che.ide.debug.Debugger)

Aggregations

Debugger (org.eclipse.che.ide.debug.Debugger)12 Operation (org.eclipse.che.api.promises.client.Operation)4 OperationException (org.eclipse.che.api.promises.client.OperationException)4 PromiseError (org.eclipse.che.api.promises.client.PromiseError)4 HashMap (java.util.HashMap)1 Map (java.util.Map)1 SimpleValue (org.eclipse.che.api.debug.shared.model.SimpleValue)1 StackFrameDump (org.eclipse.che.api.debug.shared.model.StackFrameDump)1 Variable (org.eclipse.che.api.debug.shared.model.Variable)1 VariableImpl (org.eclipse.che.api.debug.shared.model.impl.VariableImpl)1 Presentation (org.eclipse.che.ide.api.action.Presentation)1