/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
/** * @return true if the platform is debugging */ public static boolean isDebugging() { return Platform.inDebugMode(); }
public OSGiPlatform(Object systemContext) { this.systemContext = (BundleContext)systemContext; try { setDebugging(Platform.inDebugMode()); } catch (Throwable ignore) { } }
/** * Creates a new workbench logger */ @Inject public WorkbenchLogger(@Optional @Named("logger.bundlename") String bundleName) { super(); this.bundleName = bundleName == null ? Activator.PI_WORKBENCH : bundleName; isDebugEnabled = Platform.inDebugMode(); }
public void trace(TraceLocation location, String message) { if (!Platform.inDebugMode()) return; String debugOption = Platform.getDebugOption(PLUGIN_ID + "/debug" + location.getPrefix()); if ( !Boolean.parseBoolean(debugOption) ) return; getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message)); }
if (Platform.inDebugMode()) { String[] args = (String[]) argArray; String[] newArgs = new String[args.length + 1];
/** * Has no effect, and always returns with {@code false} if the JDT LS has been * started from the source either in debug or development mode. If the * {@code CLIENT_HOST} and {@code CLIENT_PORT} environment variables are set and * the {@link JDTEnvironmentUtils#SOCKET_STREAM_DEBUG socket.stream.debug} is * set to {@code true}, the the server will start with plain socket connection * and will wait until the client connects. */ public static boolean inSocketStreamDebugMode() { return Boolean.parseBoolean(Environment.get(SOCKET_STREAM_DEBUG, "false")) && (Platform.inDebugMode() || Platform.inDevelopmentMode()) && getClientHost() != null && getClientPort() != null; }