Changes simplyfying debugging.

This commit is contained in:
Milan Hanajik
2019-06-21 13:25:47 +02:00
parent e252e55197
commit a07c54186f
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -338,10 +338,11 @@ namespace TBF.BenchControl.Sequences
/// <returns></returns>
public void Execute()
{
IList<Event> e;
IList<Event> e = new List<Event>();
Selection selection;
string selectedTestName;
#if !DEBUG
Bridge.OnActivity(this, Strings.Starting_system);
WaitForOkButton();
SetValvesToDefaultState();
@@ -397,8 +398,8 @@ namespace TBF.BenchControl.Sequences
if (e.Contains(Event.UiCmdStop)) goto stop;
}
while (!e.Contains(Event.BalanceDone));
#endif
//--------------------------------------------------------------------------------------------
select_procedure:
CloseBeginForm(); /// Make sure the CycleBeginForm is closed (after an abnormal end, etc.)
+1 -1
View File
@@ -224,7 +224,7 @@ namespace TBF
form.CloseForm(null, new EventArgs());
formThread.Join();
#if !MUNICH
#if !DEBUG && !MUNICH
if (message != null)
{
MessageBox.Show(Strings.The_following_components_are_in_simulation_mode_ + Environment.NewLine + message,