Learning .NET Debugging - 推荐
在文章中作者还提到她准备写一个实践.NET调试技术的系列文章:
- Information and Setup Instructions
- Lab 1: Hang
- Lab 1: Hang - Review
- Lab 2: Crash
- Lab 2: Crash - Review
- Lab 3: Memory
- Lab 3: Memory - Review
- Lab 4: High CPU hang
- Lab 4: High CPU hang - Review
- Lab 5: Debugging Challenge
本来我是想翻译出来分享给大家的,但是通读一遍以后感觉实在没有这个必要,文章内容其实都很简单,就别再经过我的二次“污染”了,如果你有心想学好.NET调试技术,相信你就一定会有耐心仔细阅读这篇几百字的短文吧!
最后,关于作者推荐的那本Debugging Microsoft .NET 2.0 Applications

最最后,欢迎大家加入博客园社区里的debug小组空间



From:http://blogs.msdn.com/tess/archive/2008/01/30/learning-net-debugging.aspx
Learning .NET debugging
I often get questions like How do I learn .net debugging? What books should I read? Where can I find more information?
I know everyones learning style is different so this might not be the best way for you, but the way I try to learn things is by "teaching". For example the way I started out with .net debugging was by putting together a really silly .net debugging web cast series with one of my colleagues. Looking back at them now they make me laugh, both because seeing yourself on video is just horrible, and because of how convoluted we made things because of how little experience we had with debugging .net.
The reason learning by teaching works for me is because if I have to explain something to someone else I do a lot more research. If I read a book or go through a course I tend to skip over things and think "yeah, I pretty much know how that works so I won't worry about it" so I never delve into those things. Blogging also makes me have to research a lot more and not leave it at "I have a pretty good idea what the issue is" but instead go deeper and really understand the issues, which gives me knowledge that I can reuse in other situations.
The other obvious and natural benefit from learning by teaching is that you spread the wealth and oftentimes I find that if I really go through with actually presenting it, I also get a lot of feedback helping me understand the issues even further. Sometimes though I just leave it at researching as though I would explain the topic to someone else but never end up doing it (because the issue is really well explained already somewhere else).
The only drawback I see with this for me is that when you're in the learning phase you don't really have the experience that I feel makes a good teacher, and sometimes like in the case of the debugging web casts you do things in convoluted ways in the beginning because you don't know the shortcuts. Still I think it is a worthwhile learning method, especially on topics that are not all that explored and where there is not much good course/training material in existence.
With debugging specifically, I think there is no better way of learning debugging than creating your own issues and debugging them. For example, set up a demo that you know will crash the process or hang the process or cause a memory leak and debug it. It works extremely well for the beginning stages since you know what you are expected to find.
I was thinking of starting a quick series of demos that can be used to practice debugging. Most of them items that I have already posted solutions to here, but with code and "lab" hints. Would that be of interest? if you are interested, just send a quick yes in the comments or contact me by email so I can gauge if it is something that would make sense to do...
Ok, that was a whole lot of rambling about my learning style:) having said this... here are some blogs that I subscribe to with good debugging/asp.net information if you want to learn debugging or keep your debugging skills up to date...
Support blogs with debugging case studies
Speaking of which... (Johan Straarup) http://blogs.msdn.com/johan
A developers stayings (Carlo Cardella) http://blogs.msdn.com/carloc
Notes from a dark corner (Doug Stewart) http://blogs.msdn.com/dougste
Cheshire's blog (Jim Cheshire) http://blogs.msdn.com/jamesche
ASP.NET debugging (Tom Christian) http://blogs.msdn.com/tom
Nico's weblog (Nicolas Dietrich) http://blogs.msdn.com/nicd
Solving the world's problem, one support incident at a time... (Lucas Canavan) http://blogs.msdn.com/lucascan
Todd Carter's weblog (Todd Carter) http://blogs.msdn.com/toddca
Other debugging related blogs:
Debugging toolbox - http://blogs.msdn.com/debuggingtoolbox
Dotnet debug - http://dotnetdebug.net
NT Debugging - http://blogs.msdn.com/ntdebugging
John Robbin's blog - http://www.wintellect.com/cs/blogs/jrobbins/default.aspx
Other ASP.NET blogs:
ASP.NET Team blog - http://weblogs.asp.net/aspnet-team
Scott Gu's blog - http://weblogs.asp.net/scottgu
CLR Blogs:
CLR, Architectures and stuff - http://blogs.msdn.com/patrick_dussud
Maoni's weblog - http://blogs.msdn.com/maoni
and dont forget the Debugging Microsoft .NET 2.0 Applications book by John Robbins
出处:http://justinw.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架