I use Visual Studio 2005 (SP1) and I have the following problem. After I have inserted a comment with doxycomment in a C++ file, Visual Studio becomes very slow and further work is unacceptable. I think doxycomment is a great tool but it's quite unusable if I have to wait 1 sec for a keystroke.
Thank you in advance
ndee3000
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have noticed this issue before, but so far been unable to diagnose the actual cause of the slowdown. I suspect VS2005's polling for command status might be the culprit, but have not verified it.
If you want to dig further into it I would suggest looking into the DoxyCommentAddIn.QueryStatus function. Try commenting out the call to CheckContext for each command (just set status = vsCommandStatus.vsCommandStatusEnabled | vsCommandStatus.vsCommandStatusSupported). This will cause the add-in commands to appear available all the time, but you will be able to verify if the CheckContext function is responsible for the delays.
DoxyComment is totally driven by command input- there are not background threads or anything in the code base. Besides command execution the QueryStatus is the only function VS calls on a regular basis.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried it out and, yes, you're right!!! After I commented out the calls to CheckContext, VS runs normally. Besides I don't recognize a difference. I think, before, the add-in commands we're visible all the time, too ?!
Thank you for the tip! Now I can safely recommend doxycomment the rest of my team. ;-) They are waiting for a solution like that.
Greetz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In VS2005 and VS2005 SP1 I'm experiencing massive slowdowns as soon as the Doxycomment add-in is enabled via Tools > Add-ins dialog. Intellisense kicks in and hogs the CPU. If I disable the add-in, everything returns to normal.
This thread seems related. Changelog for v0.4.2 indicates that perhaps this fix was integrated in that build, but I'm still seeing the problem. And this post has a date later than the release date of 0.4.2.
So should I download the source and make the change mentioned above to see the fix?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I use Visual Studio 2005 (SP1) and I have the following problem. After I have inserted a comment with doxycomment in a C++ file, Visual Studio becomes very slow and further work is unacceptable. I think doxycomment is a great tool but it's quite unusable if I have to wait 1 sec for a keystroke.
Thank you in advance
ndee3000
I have noticed this issue before, but so far been unable to diagnose the actual cause of the slowdown. I suspect VS2005's polling for command status might be the culprit, but have not verified it.
If you want to dig further into it I would suggest looking into the DoxyCommentAddIn.QueryStatus function. Try commenting out the call to CheckContext for each command (just set status = vsCommandStatus.vsCommandStatusEnabled | vsCommandStatus.vsCommandStatusSupported). This will cause the add-in commands to appear available all the time, but you will be able to verify if the CheckContext function is responsible for the delays.
DoxyComment is totally driven by command input- there are not background threads or anything in the code base. Besides command execution the QueryStatus is the only function VS calls on a regular basis.
Thank you for your quick answer. Although time is rare I will try to find the bug. If I found it, I let you know
That would be great. If you do manage to track it down I will be happy to integrate the your fix in the next release.
I tried it out and, yes, you're right!!! After I commented out the calls to CheckContext, VS runs normally. Besides I don't recognize a difference. I think, before, the add-in commands we're visible all the time, too ?!
Thank you for the tip! Now I can safely recommend doxycomment the rest of my team. ;-) They are waiting for a solution like that.
Greetz
Hello,
In VS2005 and VS2005 SP1 I'm experiencing massive slowdowns as soon as the Doxycomment add-in is enabled via Tools > Add-ins dialog. Intellisense kicks in and hogs the CPU. If I disable the add-in, everything returns to normal.
This thread seems related. Changelog for v0.4.2 indicates that perhaps this fix was integrated in that build, but I'm still seeing the problem. And this post has a date later than the release date of 0.4.2.
So should I download the source and make the change mentioned above to see the fix?
Thanks.
I have release a 0.4.3 version tonight without the CheckContext calls. Please let me know if it resolves the problems.
Thank you
Troels