<LinkedListItem> debug visualizer does not stop when encountering HeadPointer - by stheophil

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 776797 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 1/17/2013 8:11:06 AM
Access Restriction Public


Linked lists without a size member like boost::intrusive::list cannot be visualized properly. The obvious debug visualizer is

<Type Name="boost::intrusive::list&lt;*,boost::intrusive::constant_time_size&lt;0&gt;,*,*&gt;">

But this shows an "infinite" number of list elements instead of stopping automatically when NextPointer == HeadPointer like the old implementation did, I believe.
Sign in to post a comment.
Posted by Deon [MSFT] on 4/29/2014 at 12:29 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 2/8/2013 at 3:38 PM
Thank you for your feedback. We are considering making a future release of Visual Studio stop iterating the linked list elements when <NextPointer> equals the <HeadPointer>, as requested. In the meantime, you can work around the issue by modifying your data structure so that the "next" node of last element points to NULL, rather than back to the first element.
Posted by Microsoft on 1/23/2013 at 1:00 AM
Thanks for your update. We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by stheophil on 1/22/2013 at 1:25 AM
I've uploaded a project with which I can reproduce the issue. I've used a boost::intrusive::list and I've added the debug visualizer as a comment.
Posted by Microsoft on 1/22/2013 at 12:00 AM

Sorry for bothering. Is there any update?

It would be greatly appreciated if you could provide us with that information as quickly as possible.

Thank you!
Posted by Microsoft on 1/18/2013 at 12:08 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 1/17/2013 at 8:50 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)