Solved

Debugging plug-ins

Posted on 2006-10-20
2
202 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

679 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