Home > Microsoft .Net Development Tips > Application Testing and Security > .NET Framework Tools: CLR Debugger
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

APPLICATION TESTING AND SECURITY

.NET Framework Tools: CLR Debugger


Ed Tittel, Contributor
04.03.2006
Rating: --- (out of 5)


.NET Essentials Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Those who work with .NET will definitely want to check out Microsoft's library of .NET Framework tools, part of the company's .NET Framework SDK available online. As part of this library, you'll find a very useful CLR Debugger, otherwise known as DbgCLR.exe, ready for you to download and use it in your everyday work.

As its name implies, this tool provides debugging services to help application developers find and repair bugs in programs that incorporate the Common Language Runtime (CLR). What makes it particularly interesting and useful is that it provides a graphic interface to help aid this process -- a great improvement over old-fashioned methods that involve step-by-step code execution or instrumenting code so it can report on what it's doing (and hopefully, on what's going amiss). Those already familiar with the Visual Studio 2005 debugger will find this tool quite familiar, because this CLR debugger is based on ongoing efforts to create and maintain the Visual Studio 2005 debugger.

What's different about the CLR debugger is that it doesn't implement all the features found in the Visual Studio 2005 debugger. Some what's not available is as follows:

  • The CLR debugger does not support debugging of Win32 native code applications; it only works on applications writte...

    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    .NET Framework security tools
    Windows 7 for developers
    Toolset auto generates test data for database testing
    Windows Developments: Product news February 2008
    Rhino Mocks adds remote proxies, calls to void methods
    Axosoft bug tracker adds wiki, improves collaboration
    Exact Magic updates it Visual Studio tools
    Windows Developments: Product news, January 2008
    JetBrains updates TeamCity, offers free Professional edition
    Tool allows cross-site, cross-platform access to SourceSafe
    Automation tool provides functional Web app testing

    Application Testing and Security
    Test-driven development in .NET yields complete unit test coverage
    How to write installers in Vista that work correctly under UAC
    How to elevate programs' privileges correctly using Vista's UAC
    Internet Explorer 8 beta's development tools add source visualizations
    Microsoft previews new features in Visual Studio 2010
    Advanced Windows Debugging Book Chapter and Podcast
    Book excerpt: Advanced Windows Debugging
    Book excerpt: Pragmatic unit testing in C# with NUnit
    Security interoperability with .NET/WSE and WebLogic Workshop 8.1
    How to avoid regression bugs while adding new features

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    n and compiled for the CLR.

  • Remote debugging is not implemented.
  • Though the Registers window is implemented, no register or pseudoregister information is available when using this tool. Though the Disassembly window is implemented, it shows disassembly code for Win32 native code rather than CLR code—thus it's not really relevant to CLR developers.
  • The CLR debugger does not support F1 help functions.
  • The CLR debugger does not support the Autos window feature.

    Using the CLR Debugger requires that you work with solutions to associate source files with the applications being debugged. A solution is created automatically when you open a compiled application along with associated source file(s). Thereafter, whenever you want to debug, simply open the application instead of loading the source file and compiled application separately. The first time you use this tool, you must select a program to debug from the debug menu, locate the program and provide any arguments it needs, after which you must open all related source files. After that, the solution is available for use instead.

    If you work with the CLR, you owe it to yourself to learn and use this tool.


    Ed Tittel is a full-time writer and trainer whose interests include XML and development topics, along with IT Certification and information security. Send comments, queries, or suggested topics or tools for review to Ed at etittel@techtarget.com.

    Rate this Tip
    To rate tips, you must be a member of SearchWinDevelopment.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Database Programming Solutions - .NET XML, Visual Studio LINQ, ORM .NET
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts