DCSIMG
Moles Fails with InteliiTrace On - Manu Cohen-Yashar's Blog

Manu Cohen-Yashar's Blog

Moles Fails with InteliiTrace On

Moles is a great infrastructure for injecting mock functions into existing code. This is of course very useful when writing unit tests. Unfortunately from version 0.93 (now we are in 0.94) moles fails when IntelliTrace is on.

When running tests that uses moles and IntelliTrace is on the test will abort with the exception: [agent] host process exited with unmanaged profiler failed (-667 - 0xfffffd65)

To fix this simply disable IntelliTrace (Tools|Options|IntelliTrace|Enable IntelliTrace)
and run your tests.

Manu

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: