Click here to Skip to main content
11,483,002 members (74,023 online)
Click here to Skip to main content

DebugHelp Devstudio Add In

, 31 Jan 2001 72.1K 511 13
Rate this:
Please Sign up or sign in to vote.
Debug Help is a Visual C++ 6.0 AddIn that helps developers insert debug statements in their program code.
<!-- Download Links -->
  • Download source files - 40 Kb
  • <!-- Main HTML starts here -->

    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. Smile | :)

    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

    Share

    About the Author

    Amit Dey
    Web Developer
    India India
    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


    Comments and Discussions

     
    GeneralBad Name Pin
    Brad Bruce9-May-02 4:05
    memberBrad Bruce9-May-02 4:05 
    GeneralThe real reason Pin
    Amit Dey8-Feb-01 7:15
    memberAmit Dey8-Feb-01 7:15 
    GeneralThe real reason Pin
    Amit Dey8-Feb-01 7:13
    memberAmit Dey8-Feb-01 7:13 
    GeneralRe: The real reason Pin
    Jignesh I. Patel8-Feb-01 12:01
    memberJignesh I. Patel8-Feb-01 12:01 
    GeneralRe: The real reason Pin
    Jonathan Gilligan8-Feb-01 14:25
    memberJonathan Gilligan8-Feb-01 14:25 
    GeneralRe: The real reason Pin
    Amit Dey9-Feb-01 0:46
    memberAmit Dey9-Feb-01 0:46 
    GeneralRe: The real reason Pin
    Ammar19-Mar-01 2:23
    memberAmmar19-Mar-01 2:23 
    GeneralWindows has a DbgHelp.dll Pin
    Robin4-Feb-01 15:45
    memberRobin4-Feb-01 15:45 
    GeneralRe: Windows has a DbgHelp.dll Pin
    Amit Dey5-Feb-01 23:47
    memberAmit Dey5-Feb-01 23:47 
    QuestionWhy? Pin
    Jonathan Gilligan2-Feb-01 6:52
    memberJonathan Gilligan2-Feb-01 6:52 
    AnswerRe: Why? Pin
    Anonymous3-Feb-01 12:18
    memberAnonymous3-Feb-01 12:18 
    AnswerRe: Why? Pin
    Amit Dey5-Feb-01 23:51
    memberAmit Dey5-Feb-01 23:51 

    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.

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