title: C# Refresh of the event in debug mode
body: <p>Here I try to recover some values into variables.</p>
  <p>I send a message to a server which returns different values. These values are read in a thread. I catch all values returned by the server with an event.</p>
  <p>I try to store it but I have a problem: when I use my debugger I can see all refresh of my event only at the end (at display time in a WindowsForm).</p>
  <p>Example with code:</p>
  <pre><code>ModuleProtocole.SendMessage(&quot;VER&quot;); // after this command I will receive the version
  ModuleProtocole.SendMessage(&quot;NA1&quot;); // after this command I will receive the name of hardware
  
  public void MessageRec(object source, MesACK e)
  {
   ReceptionMessage = e.getinfos(); //My globale variable ReceptionMessage is refresh for every new value on port
  }
  
  if(ReceptionMessage[0] == &quot;M&quot;) //When i debug line by line ReceptionMessage is always = &quot;Monitor&quot; but at the end of debug all variable like &quot;Name&quot; is completed by the good word
     Version = ReceptionMessage;
  else Name=ReceptionMessage;
  </code></pre>
  <p>So my question is: Why my event is refresh only one time in debug? In my code, it should be trigger 2 times but only the first one is show and apply to variables in debug console.</p>