Reputation: 17444
In Visual Studio 2015, when I attempt to debug a test that uses Typemock (and I use the Visual Studio Test Explorer, not Typemock's SmartRunner), on the first call to a Typemock method I get the following exception:
TypeMock.TypeMockException occurred HResult=-2146233088
Message=
*** Typemock Isolator is currently disabled. Enable using the following:
- Within Visual Studio:
- Use Typemock Smart Runner
- For other runners, Choose Typemock Menu and click "Integrate with Other Runners"
- To run Typemock Isolator as part of an automated process you can:
- run tests via TMockRunner.exe command line tool
- use 'TypeMockStart' tasks for MSBuild or NAnt
I've followed the instructions and verified that:
Also,
Question: What is causing this problem and how do I fix it?
Upvotes: 2
Views: 1457
Reputation: 483
Disclaimer: I work at Typemock
This issue is fixed in Isolator 8.3 and will apply to all following versions. Isolator 8.3 was released on 2.21.2016 and available for download at www.typemock.com.
Upvotes: 1
Reputation: 17444
The IntelliTrace functionality does not work with Typemock. Disabling IntelliTrace in the Visual Studio options (Options->IntelliTrace->General->Enable IntelliTrace) works around the issue.
See:
Upvotes: 3