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
If i try to debug a unit test with resharper I am getting following error:

*** Typemock Isolator is currently disabled. Enable using the following:
* Within Visual Studio:
- Use Typemock Smart Runner
- For other runners, Choose Typemock Menu and click Resume Mocking
[snip]

I have seen other threads with this issue, but did not get a solution for our setting. We only have the Essentials license, so no
IntelliTrace-Feature.

We are using:
VS 2013 Update 2
Typemock 7.5.1.0
Resharper 8.2

Settings:
- Typemock is enabled in the menu within visual studio
- No profiler is linked (I even uninstalled dottrace)

What else can cause this issue?
asked by chris_h (760 points)

9 Answers

0 votes
Hi,

We solved a similar case here.

What you have to do is:
1) Find the name of the runner process using process explorer.
2) Add the name to namespaces.dat (in Typemock installation directory).
3) Send it to us to include it in the next version.
answered by alex (17k points)
0 votes
Does not work. The name of the process is

JetBrains.ReSharper.TaskRunner.CLR4.x64.exe

and this name is already in namespaces.dat.

(If I just run the tests everything works finde and the runner is the same.)
answered by chris_h (760 points)
0 votes
Hi,
- Typemock is enabled in the menu within visual studio

Do you mean that 3rd party runners are enabled?
Do you manage to rin the tests with Resharper's runner (not in debug)?
answered by alex (17k points)
0 votes
Yes, I mean mocking for 3 party runners is enabled. And yes, the test are running fine with the resharper runner. Debugging though is not possible.
answered by chris_h (760 points)
0 votes
Any more ideas?
answered by chris_h (760 points)
0 votes
Hi,

We're still checking this issue so no fresh ideas yet.
For now you can use Typemock Smart-Runner or VS runner for debugging.

I'll update as soon as we progress.
answered by alex (17k points)
0 votes
Hi,

I managed to reproduce this issue when compiling to x64 platform.

Please add msvsmon.exe to namespaces.dat and let me know if it helps.
answered by alex (17k points)
0 votes
Yes, that solved the issue!

Thanks a lot.
answered by chris_h (760 points)
0 votes
Great, Thank you for the feedback.
This fix will be in our next version (7.5.2).
answered by alex (17k points)
...