Debugging Applications for Microsoft .NET and Microsoft Windows: Notes-Prerequisites to Debugging
2010-05-24 08:33
495 查看
Your project
Knowing your project is the first line of defense for user interface, logic, and
performance bugs. By knowing how and where features are implemented in the
various source files, you can quickly narrow down who is doing what to whom.
Your language
Knowing the language (or languages) your project uses is more difficult than it
sounds. I'm referring to knowing what your language is doing behind the scenes
as well as knowing how to program in it.
Your technology/tools
Getting a handle on the technologies you're using is the first big step to
tackling the harder bugs.
Your operating system/environment
Knowing the basics of how your operating system or operating environment goes
about doing its work can make the biggest difference between solving a bug and
just floundering around.
My friend Matt Pietrek, who taught me a great deal about debugging, maintains
that knowing the operating system/environment and the CPU is what separates the
debugging gods from mere mortals.
Your CPU
This brings me to the last thing you must know to be a debugging god for native
code: the CPU. You must know a little about the CPU to solve most of the
nastiest bugs you'll encounter.
Learning the Skill Set
Bringing a portfolio of the work you did on your own time at home shows that you
can complete work independently and that you have a passion for software
engineering, and it will almost immediately put you in the top 20 percent of
engineers.
Another practice that has helped me a great deal, especially when it comes to
learning more about languages, technologies, and the operating system, is to
look at other engineers' code.
Another technique I would recommend to learn more about technologies, the
operating system, and the virtual machine (CPU) is to do some reverse
engineering. It will help get you up to speed with assembly language and the
advanced features in the debugger.
Reading books and magazines, writing utilities, reviewing
other engineers' code, and doing reverse engineering are all great ways to
improve your debugging skills. However, your greatest resources are your
engineering friends and coworkers. Never be afraid to ask them how they did
something or how something works; unless they are in the middle of a deadline
crunch, they should be happy to help. I enjoy it when people ask me questions
because I end up learning more than the individuals who ask the questions!
Programming newsgroups are also excellent places to pose questions. I read them
all the time because their responses are so good, especially from those folks
Microsoft has designated MVPs (Most Valuable Professionals).
Knowing your project is the first line of defense for user interface, logic, and
performance bugs. By knowing how and where features are implemented in the
various source files, you can quickly narrow down who is doing what to whom.
Your language
Knowing the language (or languages) your project uses is more difficult than it
sounds. I'm referring to knowing what your language is doing behind the scenes
as well as knowing how to program in it.
Your technology/tools
Getting a handle on the technologies you're using is the first big step to
tackling the harder bugs.
Your operating system/environment
Knowing the basics of how your operating system or operating environment goes
about doing its work can make the biggest difference between solving a bug and
just floundering around.
My friend Matt Pietrek, who taught me a great deal about debugging, maintains
that knowing the operating system/environment and the CPU is what separates the
debugging gods from mere mortals.
Your CPU
This brings me to the last thing you must know to be a debugging god for native
code: the CPU. You must know a little about the CPU to solve most of the
nastiest bugs you'll encounter.
Learning the Skill Set
Bringing a portfolio of the work you did on your own time at home shows that you
can complete work independently and that you have a passion for software
engineering, and it will almost immediately put you in the top 20 percent of
engineers.
Another practice that has helped me a great deal, especially when it comes to
learning more about languages, technologies, and the operating system, is to
look at other engineers' code.
Another technique I would recommend to learn more about technologies, the
operating system, and the virtual machine (CPU) is to do some reverse
engineering. It will help get you up to speed with assembly language and the
advanced features in the debugger.
Reading books and magazines, writing utilities, reviewing
other engineers' code, and doing reverse engineering are all great ways to
improve your debugging skills. However, your greatest resources are your
engineering friends and coworkers. Never be afraid to ask them how they did
something or how something works; unless they are in the middle of a deadline
crunch, they should be happy to help. I enjoy it when people ask me questions
because I end up learning more than the individuals who ask the questions!
Programming newsgroups are also excellent places to pose questions. I read them
all the time because their responses are so good, especially from those folks
Microsoft has designated MVPs (Most Valuable Professionals).
相关文章推荐
- Debugging Applications for Microsoft .NET and Microsoft Windows: Notes-The Debugging Process
- Debugging Applications for Microsoft .NET and Microsoft Windows: Notes-Books
- Debugging Applications for Microsoft .NET and Microsoft Windows
- The Windows SDK team is proud to announce that the RTM release of the Microsoft Windows SDK for Windows Server 2008 and .NET Fra
- A Simple Way to Enable a Windows XP Look and Feel for VC++ 6.0 MFC Applications
- Remote Debugging connecting to a Remote Stub using the Microsoft Debugging Tools for Windows
- Network Programming For Microsoft Windows Notes:Introduction to Winsock
- Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO)
- Microsoft Official Course 2555A, Developing Microsoft .NET Applications for Windows
- Effective Use of Microsoft Enterprise Library: Building Blocks for Creating Enterprise Applications and Services (Microsoft .Net
- Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO)
- Oracle Fusion Applications (11.1.8) Media Pack and Oracle Application Development Framework 11g (11.1.1.7.2) for Microsoft Windows x64 (64-bit)
- .NET Internationalization: The Developer's Guide to Building Global Windows and Web Applications
- Creating a Compelling UI for Windows Mobile and the Microsoft .NET Compact Framework
- How to install and run Microsoft Windows for free on Linux
- Creating a Compelling UI for Windows Mobile and the Microsoft .NET Compact Framework
- Microsoft Windows SDK for Windows 7 and .NET Framework
- Networking with Microsoft Windows Vista: Your Guide to Easy and Secure Windows Vista Networking
- [翻译图书]-Moving Applications to the Cloud on the Microsoft Windows Azure Platform - 1
- 被Microsoft® .NET: Architecting Applications for the Enterprise提及的