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
Hi,

I have installed TypeMock in a German VS 2012 (Win 7, 64 Bit, German Language).

After having installed the provided German Patch and TypeMock running successfully - Debugging of Unit Tests is not possible anymore.

The following error message is displayed:
TypeMock 01.PNG
If I 'un-install' TypeMock debugging is functioning as expected.

I am aware that the error message is originally from R#7.0.1 but it seems to be caused by TypeMock. It does not matter whether 'TypeMock/Mocking' is on or off.

Any help is appreciated!

mph
asked by mph (6k points)

12 Answers

0 votes
Hi,

Thank you for the feedback.

Do you currently use only JetBrains Debugger?
Can you also try to debug with Isolator and MSTest and tell me if it works?
answered by alex (17k points)
0 votes
Hi Alex,

it seems that it works okay with R# and MSTest. After some intensive testing it looks like NUnit is actually the problem. I tested the following combinations:

TypeMock & MSTest => ok
TypeMock & R# 7 => ok
NUnit & R# 7 => ok
MSTest & R# 7 => ok
TypeMock & MSTest & R#7 => ok
TypeMock & NUnit & R# 7 => failure

I hope that helps!

Cheers,
Peter
answered by mph (6k points)
0 votes
Hi,

Thanks a lot, it's exactly what I was looking for.

I will look into this and update you when I know what it is.
answered by alex (17k points)
0 votes
Sorry Alex,

Some further investigation revealed that if I turn on "TypeMock/Resume Mocking" debugging with all combinations fails!

If tested it with R# Test Runner and with MS Test both fail if 'Mocking' is on. If it's off it works fine.

Sorry for incorrect previous post. :(

Let me know if you want my test project for cross checking!

Peter
answered by mph (6k points)
0 votes
And BTW the TypeMock SmartRunner is not operational. -> I don't see the green shields even so if is installed.

Peter
answered by mph (6k points)
0 votes
Hi Peter,

Please post your project so we reproduce this issue locally.

Thanks you.
answered by NofarC (4k points)
0 votes
Hi Nofar,

Saddly I can not attach the file. You guys only allow 256 KB as attachment - at least thats what the WebUI tells me. I'll send the Project ZIP to the e-mail you guys contacted me before. I'll use the old reference number.

Cheers,
Peter

-> Did not work either. Project file too large. How can I send the project? Please advise.
answered by mph (6k points)
0 votes
Hi Peter,

I sent you an Email with a link to a Google drive folder.
Please upload the zip to this folder.
answered by NofarC (4k points)
0 votes
project file uploaded
answered by mph (6k points)
0 votes
I'm getting that message as well - and I'm not with German VS.
I think the issue is related with the Jetbrains runner.
My solution is to use "Debug Test" (the green bug icon).


Hi,

I have installed TypeMock in a German VS 2012 (Win 7, 64 Bit, German Language).

After having installed the provided German Patch and TypeMock running successfully - Debugging of Unit Tests is not possible anymore.

The following error message is displayed:
TypeMock 01.PNG
If I 'un-install' TypeMock debugging is functioning as expected.

I am aware that the error message is originally from R#7.0.1 but it seems to be caused by TypeMock. It does not matter whether 'TypeMock/Mocking' is on or off.

Any help is appreciated!

mph
answered by askinh (720 points)
...