我使用TeamCity来支持项目的持续集成。
目前,当我运行.NET代码覆盖率:JetBrains dotCover来针对特定项目时,dotCover会崩溃并出现StackOverflowException错误。
此外,单元测试'TestSomething'是正确的,并且始终运行成功。
以下是构建过程中的错误日志快照:
我真的不明白为什么会发生这种情况。有专家能提供帮助吗?
目前,当我运行.NET代码覆盖率:JetBrains dotCover来针对特定项目时,dotCover会崩溃并出现StackOverflowException错误。
此外,单元测试'TestSomething'是正确的,并且始终运行成功。
以下是构建过程中的错误日志快照:
[MyAssembly.dll] MyAssembly.MyTester.TestSomething (12s)
[18:28:37][MyAssembly.MyTester.TestSomething]
[18:28:37][MyAssembly.MyTester.TestSomething] Process is terminated due to StackOverflowException.
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Coverage session finished [12/22/2015 6:28:38 PM]
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Analysed application exited with code '-1073741571'
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Coverage session finished but no snapshots were created.
[18:28:39][MyAssembly.MyTester.TestSomething] ##teamcity[importData type='dotNetCoverage' tool='dotcover' file='C:\TeamCity\buildAgent\temp\buildTmp\coverage_dotcover33181917853826188801.data']
[18:28:37][Step 3/10]
[18:28:37][Step 3/10] Process is terminated due to StackOverflowException.
我真的不明白为什么会发生这种情况。有专家能提供帮助吗?