Coverage for No-Op lines

Coverage for No-Op lines

Hi,

this program (1.5.1-b2) is great but is has at least one problem with VB.NET (1.1sp1) code: It requires the coverage of no-op lines.

Example (snippet):

If a=1 Then
 DoSomeComplicatedStuff()
End If


It requires "End If" to be executed but this can never happen. The same applies to "End Select". I don't know if this applies to other statements too.

Regards,
Mark

PS: Anyway, this program is really useful - especially in combination with NUnit.


Solved : Objet Reference not set to an instance of an object

hi there

Finally got the solution.

Since it needs the IIS to reset if we want to see the coverage report;

the profiler was stopping before the IIS resets.(I think this was the problem, I am not sure)

anyway, after hit and trial.

we found messaging.cs in Framework.

it had this constant variable

private const int ShutdownTimeout = 60000;( for one minute)

after increasing it's time it waits for some more time.

:)