-
Notifications
You must be signed in to change notification settings - Fork 249
Bug in Profiler #728
Comments
I've encountered the same problem trying to cover a legacy assembly with just a handful of very large methods (>5000 lines each) I also found that the Profiler timeouts are far too short. The I found that in my case I needed to increase BOTH the I would also suggest and request:
|
This seems to be exactly our issue - could not get any coverage at all. I switched over to dotCover because of this. |
#728 extend max configurable comm timeout
Please provide the following information when submitting an issue.
My Framework
My Environment
I have already...
My issue is related to (check only those which apply):
Expected Behavior
All assemblies loaded in the application domain which arent excluded by a filter should be tracked.
Actual Behavior
Assemblies won't be tracked if there is a large assembly e.g (5820 classes). This comes from the fact that there is a timeout in the ProfilerCommunication class in the profiler project. The timeout is specified as COM_WAIT_LONG which is 60000 ms. This is not enough for building the instrumentation model. The Method is: TrackMethod. I think the correct value should be the value of the variable: _short_wait of the same class.
I also think it would be neccessary to allow the specifiaction of the variable by the commandline not only by environment variable.
Steps to reproduce the problem:
Create a large assembly with more than 5000 complex classes and try to profile that.
I use open Cover for integration testing.
The text was updated successfully, but these errors were encountered: