Code coverage causes debug problems in IntelliJ 6

I have noticed that when code coverage is enabled for unit tests in IntelliJ6 I get quite a lot of JDWP 35 errors. I guess this is for similar reasons as when debugging AOP code, that the class has been extended and the variables are no longer visible.

One solution could be to turn off code coverage when debugging.

Is anybody else seeing this issue?

0
2 comments
Avatar
Permanently deleted user

Yes, and not just with code coverage (which we don't enable in
production) but also with @NotNull annotation runtime checking, which we
do ... it's unfortunate because it means we can't debug our system with
the same configuration as is used in production.

There is an outstanding defect
http://www.jetbrains.net/jira/browse/IDEADEV-11650
but no clue as to whether it will be fixed or not in the 6.0 series.

R

0

Thanks, I will vote for this bug. Although there is a workaround (turn off code coverage before debugging), this is very inconvenient.

0

Please sign in to leave a comment.