debuggervisualizer

Can the Visual Studio Debugger display strings unquoted/unescaped?

£可爱£侵袭症+ 提交于 2019-11-26 21:13:34
问题 The managed debugger in Visual Studio (I am using 11.0) displays string values containing double quotes and backslashes like this: "{\"Text\":\"C:\\\\Temp\"}" Occasionally I would like to display an escaped text like the above one in its plain form: {"Text":"C:\\Temp"} I am aware of the text visualizer which is accessible via the magnifying glass next to the value, but this is rather cumbersome during debugging some text manipulation routine. Is there a way to change the display of string

How to keep Visual Studio debugger visualizers from timing out?

时光总嘲笑我的痴心妄想 提交于 2019-11-26 18:08:51
问题 I've successfully made several Visual Studio debugger visualizers, and they're working very well, except that on some objects I get a time out error when I try to deserialize the object with objectProvider.GetObject() System.Exception: Function evaluation timed out. at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.PrivateCallback.MaybeDeserializeAndThrowException(Byte[] data) The time out happens rather quickly (maybe about a second after I click on the visualizer icon), even