Solved

Debugging plug-ins

Posted on 2006-10-20
2
198 Views
Last Modified: 2013-11-18
Hi,

I am developing a plug-in appliation. This plug-in will be triggered by a 3rd-party commercial application. Now the problem is how to debug this plug-in application.

I am using VC++ on VS .Net 2003.

Thanks a lot.
0
Comment
Question by:allanzhang
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 17776692
There are basically two ways to do that: In your project settings under 'Debug|Command' and specify '3rdparty.exe' and the arguments, e.g. '3rdparty.exe -otherparams'. That way, VS will launch '3rdparty.exe' and allow you to debug it. Alternatively, put a

__asm { int 3};

or

DebugBreak();

in your plugin code and when you are asked if you want to launch the Debugger, just confirm.
0
 

Author Comment

by:allanzhang
ID: 17776936
jkr, thanks a lot for your prompt reply. I'll try them next week.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question