惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google Online Security Blog
Google Online Security Blog
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
V
V2EX
雷峰网
雷峰网
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
F
Full Disclosure
Y
Y Combinator Blog
V
V2EX - 技术
Attack and Defense Labs
Attack and Defense Labs
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
Microsoft Azure Blog
Microsoft Azure Blog
SecWiki News
SecWiki News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The GitHub Blog
The GitHub Blog
量子位
PCI Perspectives
PCI Perspectives
S
Secure Thoughts
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AWS News Blog
AWS News Blog
Blog — PlanetScale
Blog — PlanetScale
爱范儿
爱范儿
K
Kaspersky official blog
B
Blog
A
Arctic Wolf
Hacker News: Ask HN
Hacker News: Ask HN
L
LangChain Blog
T
Tor Project blog
P
Privacy & Cybersecurity Law Blog
Recent Announcements
Recent Announcements
宝玉的分享
宝玉的分享
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
D
Docker
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
The Last Watchdog
The Last Watchdog
S
Security Affairs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy International News Feed
Simon Willison's Weblog
Simon Willison's Weblog

博客园 - 风前絮~~

回来啦 Rainbow分页解决方案 FTB2.0和CuteEditor的一些问题 testFTB2.0 testCuteEditor 看看MS内部对.NET的使用情况... base想到... 多个Main函数的应用程序 - 风前絮~~ - 博客园 伟大架构师的秘密 权限管理越来越复杂 ASP.NET跨应用程序进行登录的解决 Server的Transfer和Response的Redirect FreeTextBox实现机制 FreeTextBox的ToolbarButton整理 稍不留神产生代码垃圾 C#中"is" vs "as" - 风前絮~~ 再比较动态调用代码 .NET建议使用的大小写命名原则 using的几种用法
Testing vs Debugger
风前絮~~ · 2004-09-22 · via 博客园 - 风前絮~~

       SharpDevelop的确是个很不错的开源IDE工具,但对于一些长期使用了VS的人来说,似乎有点美中不足。它没有象VS那样方便的Debuger,就如我的一个同事那样,将VC6的程序放到VC.NET上来编译,第一句话就问:监视内存的视图如何打开啊?
       以往的年代,从DOS平台的TC到Window平台的VS等著名的IDE开发工具,Debuger是必不缺少的,即使现在的JBuilder也还依旧保留了Debuger,但SharpDevelop却没有,它没有将Debuger作为一个必要的核心来对待,而只是简单的和NUnit来集成,用testing来替代Debuger,没有Debuger的开发似乎对于有些程序员来说是一种缺陷,但如果想深一层,现在平时项目开发中经常用Debuger的帮助到底有多大呢?以前我们长期依赖Debuger的原因是什么呢?
       以前用Debuger经常做的事情就是跟踪某个变量在运行过程中的变化和对内存的分配,释放等行为。而对于现在流行的.NET和Java平台(Managed Platform),内存管理已经不用程序员担心了,如果仅仅为了跟踪某个变量就经常使用单步跟踪,是否有点大炮打蚊子的感觉?以往用Debuger还可以帮助我们提高程序的性能,了解错误发生的内部核心,从而修正而提高效率,而在今天,设计模式和一些编程技术日益完善,应用程序员的开发更多关心的是业务流程的正确性,跟踪和修正的问题似乎是业务上的问题多些,NUnit等的testing恰好是测试小模块业务逻辑正确性的利器。
       就自己而言,日常工作中用Debuger确实不是经常,如同SharpDevelop作者所提倡的那样,在编码中我喜欢用断言(Debug.Assert)来跟踪变量,而功能测试用NUnit足矣...

       你现在还经常用单步调试吗?

这里有篇类似的文章Testing is the New Debugging