Click here to Skip to main content
Licence 
First Posted 31 Jan 2001
Views 66,986
Bookmarked 12 times

DebugHelp Devstudio Add In

By | 31 Jan 2001 | Article
Debug Help is a Visual C++ 6.0 AddIn that helps developers insert debug statements in their program code.
  • Download source files - 40 Kb
  • Introduction

    The Visual C++ IDE helps up perform common, repetitive tasks with Macros and Add-Ins. Through AddIns we can programmatically manipulate Visual C++ environment and it's components. Thus Add-Ins are basically DLL Components that use Automation (formerly OLE Automation) to communicate with the VC++ environment.

    Debug Help is a Visual C++ 6.0 AddIn that helps developers insert debug statements in their program code. It was developed to automate frequent insertion of debug statements (TRACE and OutputDebugString) and thus reduce typing time and related RSI. The real inspiration for such a tool were my fellow developers ('Debugging is ****, man') at NIIT during our coding sessions. This is good karma. :-)

    Full source code is provided along with the AddIn. You can modify this to insert other blocks of code that you find useful.

    Installation

    To install DebugHelp-

    • Copy DbgHelp.dll to your Microsoft Visual Studio\Common\MSDev98\Addins directory (Visual Studio 6.0).
    • Open Visual Studio.
    • Goto Tools->Customize->AddIns and Macro Files.
    • Click to check on DebugHelp AddIn.
    • Click Close

    How to use

    Using DebugHelp is really simple. First position the cursor where you'd like to insert the debug statement and click on the AddIn toolbar button to bring up the Options dialog box. Now type the text you want to output in the edit box, choose the format (TRACE or OutputDebugString) and click on Insert Code to insert the respective debug statement with your text. Use TRACE with MFC applications and OutputDebugString for Win32.

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Amit Dey

    Web Developer

    India India

    Member

    Amit Dey is a freelance programmer from Bangalore,India. Chiefly programming VC++/MFC, ATL/COM and PocketPC and Palm platforms. Apart from programming and CP, he is a self-taught guitar and keyboard player.
     
    He can be contacted at visualcdev@hotmail.com
     


    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralBad Name PinmemberBrad Bruce3:05 9 May '02  
    GeneralThe real reason PinmemberAmit Dey6:15 8 Feb '01  
    GeneralThe real reason PinmemberAmit Dey6:13 8 Feb '01  
    GeneralRe: The real reason PinmemberJignesh I. Patel11:01 8 Feb '01  
    GeneralRe: The real reason PinmemberJonathan Gilligan13:25 8 Feb '01  
    GeneralRe: The real reason PinmemberAmit Dey23:46 8 Feb '01  
    GeneralRe: The real reason PinmemberAmmar1:23 19 Mar '01  
    GeneralWindows has a DbgHelp.dll PinmemberRobin14:45 4 Feb '01  
    GeneralRe: Windows has a DbgHelp.dll PinmemberAmit Dey22:47 5 Feb '01  
    QuestionWhy? PinmemberJonathan Gilligan5:52 2 Feb '01  
    AnswerRe: Why? PinmemberAnonymous11:18 3 Feb '01  
    AnswerRe: Why? PinmemberAmit Dey22:51 5 Feb '01  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web01 | 2.5.120517.1 | Last Updated 1 Feb 2001
    Article Copyright 2001 by Amit Dey
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid