Hello Thorsten!
>any news about release date for v2.0?
The beta is available, but no news on the RTM date yet.
>This works also perfekt, I'm able to debug more than one addin in parallel.
Great! If you'd like to show off your IDE management send it to VSTAsupport@summsoft.com, I'd love to take a look.
In the SDK, the ExternalDebugging.UnregisterExternalDebugHost Method has the following description:
Notifies Visual Studio 2005 Tools for Applications that an application no longer supports debugging add-ins in an external process.
I take this to mean that this call works on the host application, not the specific instance of VSTA used in debugging. Therefore, you do not want to use this call when there are muliple intances open to close one. Out of curiosity, do the different instances of VSTA have differnt M_HostDebugUri's?
>I can see that the number of VSTA entries in the ROT table grow and grow with each addin loaded and unloaded.
Does unloading an add-in create a new entry in the ROT? I would expect that the entry would remain, but not that a new one was created.
When an add-in is unloaded do you quite the DTE (this.dte.Quit();) for that add-in? If doing this from the host is not removing the entry from the ROT you may want to try doing it from an In Process Host. Here is a link to our In Process Host sample which removes the VSTA entry from the ROT when the host application is "hard" shutdown. You could adapt this IPH to check if the DTE is visible (or some other flag) and quit it from the IPH.
FYI- in VSTA v 2 beta external debugging does not add an instance to the ROT and there is no ExternalDebugging.UnregisterExternalDebugHost Method.
Hope this helps! Please let me know if there's anything else we can do for you.
-Melody