Ejemplo n.º 1
0
		protected override void Run ()
		{
			var dlg = new DebugApplicationDialog ();

			try {
				bool isOK;

				while ((isOK = (MessageService.RunCustomDialog (dlg) == (int)Gtk.ResponseType.Ok)) 
					&& !Validate (dlg));

				if (isOK)
					IdeApp.ProjectOperations.DebugApplication (dlg.SelectedFile, dlg.Arguments, dlg.WorkingDirectory, dlg.EnvironmentVariables);

			} finally {
				dlg.Destroy ();
				dlg.Dispose ();
			}


		}
Ejemplo n.º 2
0
		protected override void Run ()
		{
			var dlg = new DebugApplicationDialog ();

			try {
				bool isOK;

				while ((isOK = (MessageService.RunCustomDialog (dlg) == (int)Gtk.ResponseType.Ok)) 
					&& !Validate (dlg));

				if (isOK)
					IdeApp.ProjectOperations.DebugApplication (dlg.SelectedFile, dlg.Arguments, dlg.WorkingDirectory, dlg.EnvironmentVariables);

			} finally {
				dlg.Destroy ();
				dlg.Dispose ();
			}


		}