我有一个 NET 4. 0 应用程序, 该应用程序在运行时导致一个未处理的例外。 从 VS2010 运行时, 它打破了例外线, 我可以保存倾弃 。 当我稍后装入垃圾堆时, 我就能准确到达它坠毁时的位置, 我能看到一个本地变量的价值 。
我启用了Win 7(。
当我装载由 WER 创造的垃圾堆时, 我只能看到本地代码中有什么例外( 即使我开始混合模式调试 ) 。
是否有可能实现类似WER的行为 与VS垃圾场的行为相似?
我有一个 NET 4. 0 应用程序, 该应用程序在运行时导致一个未处理的例外。 从 VS2010 运行时, 它打破了例外线, 我可以保存倾弃 。 当我稍后装入垃圾堆时, 我就能准确到达它坠毁时的位置, 我能看到一个本地变量的价值 。
我启用了Win 7(。
当我装载由 WER 创造的垃圾堆时, 我只能看到本地代码中有什么例外( 即使我开始混合模式调试 ) 。
是否有可能实现类似WER的行为 与VS垃圾场的行为相似?
我偶然地做了一些研究并找到了关键信息。 只有我的选项/ 调试中的代码选项必须禁用才能查看应用程序源代码。 否则, 应用程序代码隐藏在 stack 追踪 中的 < code> [外部代码] code> < 中, 因此无法访问 。
这一系列视频帮助我处理类似的情况。 在其中,主讲人解释如何捕捉和处理由管理码和未管理码组成的坠机倾弃场, 以解决常见问题, 比如内存漏和生产系统中的性能问题:
< a href=>http://channeel9.msdn.com/Series/-NET-Debugging-Stater-Kit-for-the-Production-Environment/ Diagnosing-Approduction-Issues-01' rel=“nofollow'>http://chenel9.msdn.com/series/-NET-Debugging-Stater-Kit-for-the-Production-Environment/Diagnosing-Application-Issues-01
As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....
I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...
I ve got some code which sets up a datacontext. Often enough, the datacontext should be set to some underlying data collection, such as an ObservableCollection - but occasionally I d like to set it ...
I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...
NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...