Add feature to Debugger to view an object's rooted references - by Dave Black

Status : 

  Other<br /><br />
		This item had a custom resolution.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


12
0
Sign in
to vote
ID 637376 Comments
Status Closed Workarounds
Type Suggestion Repros 0
Opened 1/21/2011 7:12:56 AM
Access Restriction Public

Description

It is helpful while debugging in VisualStudio to view an object's rooted references.  As far as I know, the only way to accomplish this is to use WinDbg/WinDbg extensions and it's various !gcroot, !gchandles, etc. commands.  Obviously, you can only use 1 debugger at a time on a process, so you can't switch over to WinDbg and use it while on a breakpoint in VisualStudio.  I'm adept at using WinDbg for analyzing memory dumps - but live debugging with breakpoints there is a different story and certainly not intuitive.

Please consider the ability to view an object's rooted references while debugging.

Thank you for your consideration. 
Sign in to post a comment.
Posted by Microsoft on 1/26/2011 at 12:27 PM
Hey Dave,

Thank you for your suggestion. This is a very good suggestion and we are looking into ways of improving the overall experience that exists today for this in a future release. For now, you should be able load SOS in the immediate window depending on the version of VS (http://msdn.microsoft.com/en-us/library/yy6d2sxs.aspx) to get at least some of the experience you're looking for. I will link this to the other suggestion you filed around object memory usage and add these to the list of items we are investigating for a future release.

Thanks again for your feature suggestion.

Marc Paine
Visual Studio Debugger QA Lead
Posted by Microsoft on 1/21/2011 at 7:58 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)