[英]DebuggerVisualizer debugging in Visual Studio 2010
I am working on a collection debugger visualizer in VS2010 using C# and I cannot find a way to debug the visualizer itself (not the client app). 我正在使用C#在VS2010中开发集合调试器可视化工具,但找不到调试可视化工具本身(而不是客户端应用程序)的方法。 Can anyone give me some help regarding this?
有人可以给我一些帮助吗? Basically I want to set some breakpoints in the debugger visualizer code at runtime.
基本上,我想在运行时在调试器可视化器代码中设置一些断点。
Try to add a call to Debugger.Break at the location you want to set your breakpoint. 尝试在要设置断点的位置添加对Debugger.Break的调用。
Additionally, you can create a test driver as explained in the MSDN documentation: How to: Test and Debug a Visualizer 此外,您可以按照MSDN文档中的说明创建测试驱动程序: 如何:测试和调试可视化工具
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.