public static bool IsFeatureSupported(DebuggerFeatures feature) { foreach (DebuggerEngine engine in GetDebuggerEngines()) { if ((engine.SupportedFeatures & feature) == feature) { return(true); } } return(false); }
internal DebuggerEngine (DebuggerEngineExtensionNode node) { this.node = node; foreach (string s in node.SupportedFeatures) { try { object res = Enum.Parse (typeof(DebuggerFeatures), s, true); if (res != null) SupportedFeatures |= (DebuggerFeatures) res; } catch { LoggingService.LogError ("Invalid feature '" + s + "' in debugger engine node (" + node.Addin.Id + ")"); } } }
internal DebuggerEngine(DebuggerEngineExtensionNode node) { this.node = node; foreach (string s in node.SupportedFeatures) { try { object res = Enum.Parse(typeof(DebuggerFeatures), s, true); if (res != null) { SupportedFeatures |= (DebuggerFeatures)res; } } catch { LoggingService.LogError("Invalid feature '" + s + "' in debugger engine node (" + node.Addin.Id + ")"); } } }
public override bool Supports(DebuggerFeatures feature) { switch (feature) { case DebuggerFeatures.Start: case DebuggerFeatures.StartWithoutDebugging: case DebuggerFeatures.Stop: return(true); case DebuggerFeatures.ExecutionControl: case DebuggerFeatures.Stepping: case DebuggerFeatures.Attaching: case DebuggerFeatures.Detaching: return(false); default: throw new ArgumentOutOfRangeException(); } }
public static bool CurrentSessionSupportsFeature (DebuggerFeatures feature) { return (currentEngine.SupportedFeatures & feature) == feature; }
public static bool IsFeatureSupported (IBuildTarget target, DebuggerFeatures feature) { return (GetSupportedFeatures (target) & feature) == feature; }
public static bool CurrentSessionSupportsFeature(DebuggerFeatures feature) { return((currentEngine.SupportedFeatures & feature) == feature); }
public static bool IsFeatureSupported(IBuildTarget target, DebuggerFeatures feature) { return((GetSupportedFeatures(target) & feature) == feature); }
public override bool Supports(DebuggerFeatures feature) { return(SD.Debugger.Supports(feature)); }
public override bool Supports(DebuggerFeatures feature) { switch (feature) { case DebuggerFeatures.Start: case DebuggerFeatures.StartWithoutDebugging: case DebuggerFeatures.Stop: return true; case DebuggerFeatures.ExecutionControl: case DebuggerFeatures.Stepping: case DebuggerFeatures.Attaching: case DebuggerFeatures.Detaching: return false; default: throw new ArgumentOutOfRangeException(); } }
public override bool Supports(DebuggerFeatures feature) { return(true); }
public abstract bool Supports(DebuggerFeatures feature);
public abstract bool Supports(DebuggerFeatures feature);
public static bool IsFeatureSupported (DebuggerFeatures feature) { foreach (DebuggerEngine engine in GetDebuggerEngines ()) if ((engine.SupportedFeatures & feature) == feature) return true; return false; }
public bool CanExecute(ExecutionCommand command) { SupportedFeatures = DebuggingService.GetSupportedFeaturesForCommand(command); return(SupportedFeatures != DebuggerFeatures.None); }
public bool CanExecute (ExecutionCommand command) { SupportedFeatures = DebuggingService.GetSupportedFeaturesForCommand (command); return SupportedFeatures != DebuggerFeatures.None; }
public override bool Supports(DebuggerFeatures feature) { return true; }