-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete XML output when closing Visual Studio #41
Comments
@clayness thanks for submitting this issue. The repro steps are very helpful. We will get to assigning this to a developer soon. |
For reference, there is some sample code available on this StackOverflow question that demonstrates how to wire up some of the relevant lifecycle events. Be warned that the garbage collector will try to collect these COM objects if they are local variables, so you'll likely need to save the DTE object and the relevant events object as members of the package class. |
@cabryant20 Review this issue. If there will be no Weds meeting (12/11), plan for the next meeting time (SDML or iTrace whichever is first). |
Added Issue-41 branch. OnClose event added that checks if the writer/timer are still active and calls the xmlClose function if they are. |
@Joshua2000B is this fixed? |
I recently ran a trace with the Visual Studio plugin, and after I closed everything down, I noticed that the last of my output files did not include the closing
</gaze>
or</itrace_plugin>
tags.I reproduced it on a different computer using these steps:
It appears from the code that there is no management of the lifecycle for the plugin/tool window, so the closing tag is only written when (a) the user disconnects from core or (b) a new session is started.
The text was updated successfully, but these errors were encountered: