dotCover not producing code coverage reports - please help!



I have my tests set up to run using the teamcity nunit runner with the boxes ticked for code coverage reporting. In my build logs i see the following:

Started dotCover: C:\TeamCity\buildAgent\tools\dotCover\dotCover.exe report C:\TeamCity\buildAgent\temp\buildTmp\dotcover8864961164358899525.xml
[09:34:00]Output: JetBrains dotCover Console Runner v2.6.608.684. Copyright (c) 2009-2014 JetBrains s.r.o. All rights reserved. [JetBrains dotCover] Report generation started [03/03/2014 09:33:58] [JetBrains dotCover] Failed to build report. Invalid data while reading blob heap. offset(669) + intLen(1) >= blobHeapSize(670) in (memory)
[09:34:00]dotCover exited with code: -2
[09:34:00]dotCover returned non-zero exit code.

I get this message every time i try and run.
The tests im running are doing quite a few interop/marshal calls so i guess there is the potential they have screwed the memory somehow...
If anyone has any suggestions i would be grateful.
Comment actions Permalink

For more information this only happens when i use classes from a particular project in
my tests. The project in question is very small and doesn't do anything complicated.
Is there anything i should be looking for?

Comment actions Permalink

Here another one with the same issue. My dotCover filter specifies four dlls - originally that worked fine. Now, two of those four seem to give problems - if i reduce the filter to the other two, it works again.

Comment actions Permalink

Hello Egbert,

Could you please report this issue to dotCover support


Please sign in to leave a comment.