public void RunTest(ExtensionHost host, string[] args) { string name = args[0]; switch (name) { case "ShowNativePythonFrames": DebuggerOptions.ShowNativePythonFrames = bool.Parse(args[1]); break; case "UsePythonStepping": DebuggerOptions.UsePythonStepping = bool.Parse(args[1]); break; case "ShowCppViewNodes": DebuggerOptions.ShowCppViewNodes = bool.Parse(args[1]); break; case "ShowPythonViewNodes": DebuggerOptions.ShowPythonViewNodes = bool.Parse(args[1]); break; default: throw new ArgumentException(); } }
public override DebuggerSession CreateSession() { var session = CurrentSession = new NetDebuggerSession(); if (ExtensionHost != null) { session.ProgressReporter = ExtensionHost.CreateOrGetReporter("Debug"); foreach (var breakpoint in ExtensionHost.BookmarkManager.GetBookmarks <BreakpointBookmark>()) { CurrentSession.AddBreakpoint(breakpoint); } } return(session); }
public ExtensionHostTest() { this.testee = new ExtensionHost<IExtension>(); }
public DataPointProviders(ExtensionHost host) : base("DataPointProviders", host) { }
public DataPointProviders(ExtensionHost host) : base("DataPointProviders", host) { }
public ParameterDataProviders(ExtensionHost host) : base("ParameterDataProviders", host) { }