Example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.debug DebugSupport isDebuggerAttached

List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry.debug DebugSupport isDebuggerAttached

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.debug DebugSupport isDebuggerAttached.

Prototype

public abstract boolean isDebuggerAttached(CloudAppDashElement app);

Source Link

Document

Determines whether debugger is currently attached to the targetted app.

Usage

From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.CloudAppDashElement.java

@Override
public RunState getRunState() {
    RunState state = baseRunState.getValue();
    if (state == RunState.RUNNING) {
        DebugSupport debugSupport = getDebugSupport();
        if (debugSupport.isDebuggerAttached(CloudAppDashElement.this)) {
            //         if (DevtoolsUtil.isDevClientAttached(this, ILaunchManager.DEBUG_MODE)) {
            state = RunState.DEBUGGING;//from   ww w. j  a  v  a  2  s  .  c o  m
        }
    }
    return state;
}