Click here to Skip to main content
14,664,617 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: James S. A. Corey I hate you! Pin
OriginalGriff1-Apr-19 8:00
mveOriginalGriff1-Apr-19 8:00 
GeneralRe: James S. A. Corey I hate you! Pin
DRHuff1-Apr-19 9:22
MemberDRHuff1-Apr-19 9:22 
JokeRe: James S. A. Corey I hate you! Pin
Nelek1-Apr-19 10:38
protectorNelek1-Apr-19 10:38 
GeneralRe: James S. A. Corey I hate you! Pin
Kent Sharkey1-Apr-19 10:41
staffKent Sharkey1-Apr-19 10:41 
GeneralVisual Studio - ordering of objects in debugger Pin
Michael Breeden1-Apr-19 7:22
MemberMichael Breeden1-Apr-19 7:22 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
GuyThiebaut1-Apr-19 7:31
professionalGuyThiebaut1-Apr-19 7:31 
AnswerRe: Visual Studio - ordering of objects in debugger Pin
Ravi Bhavnani1-Apr-19 8:00
professionalRavi Bhavnani1-Apr-19 8:00 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
honey the codewitch1-Apr-19 8:12
mvahoney the codewitch1-Apr-19 8:12 
Yes, but it's not straightforward and depends on what environment you're using.

Under .NET you can create something called a DebuggerTypeProxy that returns a filtered or sorted list of items

Here's a snippet of one I wrote for a project here that's still pending approval. meh

#if DEBUG
	[DebuggerTypeProxy(typeof(DebugProxy))]
#endif // DEBUG
public sealed partial class Struple : DynamicObject, IDictionary<string,object>
	{
		#region debug proxy
#if DEBUG
		sealed class DebugProxy
		{
			IDictionary<string,object> _outer;
			internal DebugProxy(IDictionary<string,object> outer)
			{
				_outer = outer;
			}
			[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
			public KeyValuePair<string,object>[] Items {
				get {
					var result = new KeyValuePair<string,object>[_outer.Count];
					_outer.CopyTo(result, 0);
					return result;
				}
			}
		}
#endif // DEBUG
		#endregion debug proxy

When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Visual Studio - ordering of objects in debugger Pin
Slacker0071-Apr-19 9:46
professionalSlacker0071-Apr-19 9:46 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
honey the codewitch1-Apr-19 9:55
mvahoney the codewitch1-Apr-19 9:55 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Slacker0071-Apr-19 9:58
professionalSlacker0071-Apr-19 9:58 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
honey the codewitch1-Apr-19 10:02
mvahoney the codewitch1-Apr-19 10:02 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Rick York1-Apr-19 10:19
mveRick York1-Apr-19 10:19 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Slacker0071-Apr-19 10:22
professionalSlacker0071-Apr-19 10:22 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Rick York1-Apr-19 10:27
mveRick York1-Apr-19 10:27 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Slacker0071-Apr-19 9:42
professionalSlacker0071-Apr-19 9:42 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
stoneyowl21-Apr-19 11:32
Memberstoneyowl21-Apr-19 11:32 
GeneralRe: Visual Studio - ordering of objects in debugger Pin
Slacker0071-Apr-19 11:56
professionalSlacker0071-Apr-19 11:56 
GeneralCurrent Dev Music Pin
honey the codewitch1-Apr-19 6:26
mvahoney the codewitch1-Apr-19 6:26 
GeneralRe: Current Dev Music Pin
Ron Anders1-Apr-19 7:29
MemberRon Anders1-Apr-19 7:29 
GeneralRe: Current Dev Music Pin
honey the codewitch1-Apr-19 8:30
mvahoney the codewitch1-Apr-19 8:30 
GeneralRe: Current Dev Music Pin
kmoorevs1-Apr-19 7:30
Memberkmoorevs1-Apr-19 7:30 
GeneralRe: Current Dev Music Pin
Mike Hankey1-Apr-19 7:40
professionalMike Hankey1-Apr-19 7:40 
GeneralRe: Current Dev Music Pin
kmoorevs1-Apr-19 7:45
Memberkmoorevs1-Apr-19 7:45 
GeneralRe: Current Dev Music Pin
Mike Hankey1-Apr-19 8:08
professionalMike Hankey1-Apr-19 8:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.