Solved

Debugging plug-ins

Posted on 2006-10-20
2
205 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 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 how to clear a vector as well as how to detect empty vectors in C++.

724 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