chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
It is known that one cannot new a thread inside a form, i.e., the following code will generate a "cross thread operation not valid" exception:

        private void button2_Click(object sender, EventArgs e)
        {

            Thread thread = new Thread(button1.Hide);
            thread.Start();
           
        }


The issue is, how you can write the test code so that typemock racer can detect this problem?
________
Coach Purses
asked by nsoonhui (59.1k points)

1 Answer

0 votes
Hi Soon,

Currently the Racer only detects dead locks.
This a good idea for a Racer feature, I'll add that to our features list.
answered by ohad (35.5k points)
...