Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Debugging plug-ins

Posted on 2006-10-20
2
Medium Priority
?
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 750 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

609 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