void StartProcess(MonoBrickSoftDebuggerStartInfo dsi) { SoftDebuggerListenArgs args = (SoftDebuggerListenArgs)dsi.StartArgs; string EV3IPAddress = UserSettings.Instance.IPAddress; string debugOptions = string.Format("transport=dt_socket,address=0.0.0.0:{0},server=y", args.DebugPort); bool EV3Verbose = UserSettings.Instance.Verbose; process = MonoBrickUtility.ExecuteCommand(EV3IPAddress, dsi.ExecutionCommand, debugOptions, dsi.ExecutionCommand.Console, EV3Verbose); process.Execute(); process.WaitForExecuted(); }
void StartProcess(MonoBrickSoftDebuggerStartInfo dsi) { SoftDebuggerListenArgs args = (SoftDebuggerListenArgs)dsi.StartArgs; string EV3IPAddress = UserSettings.Instance.IPAddress; string debugOptions = string.Format("transport=dt_socket,address=0.0.0.0:{0},server=y", args.DebugPort); bool EV3Verbose = UserSettings.Instance.Verbose; process = MonoBrickUtility.ExecuteCommand(EV3IPAddress, dsi.ExecutionCommand, debugOptions, dsi.ExecutionCommand.Console, EV3Verbose); process.Execute(); process.WaitForExecuted(); }
public DebuggerStartInfo CreateDebuggerStartInfo(ExecutionCommand command) { var cmd = (MonoBrickExecutionCommand)command; string EV3IPAddress = UserSettings.Instance.IPAddress; string EV3DebuggerPort = UserSettings.Instance.DebugPort; var debuggerAddress = IPAddress.Parse(EV3IPAddress); int debuggerPort = int.Parse(EV3DebuggerPort); var startInfo = new MonoBrickSoftDebuggerStartInfo(debuggerAddress, debuggerPort, cmd); SoftDebuggerEngine.SetUserAssemblyNames(startInfo, cmd.UserAssemblyPaths); return startInfo; }
public DebuggerStartInfo CreateDebuggerStartInfo(ExecutionCommand command) { var cmd = (MonoBrickExecutionCommand)command; string EV3IPAddress = UserSettings.Instance.IPAddress; string EV3DebuggerPort = UserSettings.Instance.DebugPort; var debuggerAddress = IPAddress.Parse(EV3IPAddress); int debuggerPort = int.Parse(EV3DebuggerPort); var startInfo = new MonoBrickSoftDebuggerStartInfo(debuggerAddress, debuggerPort, cmd); SoftDebuggerEngine.SetUserAssemblyNames(startInfo, cmd.UserAssemblyPaths); return(startInfo); }