Solved

VC++ 5 Debugging Multi-Processes

Posted on 1998-01-14
2
175 Views
Last Modified: 2010-04-10
We can only find one way to debug a Visual C++ 5 project when multiple processes are being created.  It involves attaching the debug process to the process of interest.  First you cannot move the debug process to any other process, because in order to do that, you must terminate the originally debugged process.  Second all the other processes continue to run while the debugged process is halted for examination.  The question is Are there known ways to debug multiple processes and be able to move the debugger to different processes without terminating them and causing all the other processes to halt???
0
Comment
Question by:kradloff
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
ID: 1178299
Did you try running multiple copies of Visual C++ 5? Generally, the idea is to run a copy of the debugger for every process you're debugging. Makes life a whole lot easier.
0
 

Author Comment

by:kradloff
ID: 1178300
Yes!  We tried that about two hours after submitting the question.  Sorry.  We are really interested in syncing the various processes when one is stopped for debugging.  Our only homegrown solution is to code a "debug mutex" into every process.  Not the most elegant but workable.  Does anyone know of better solutions or facilities to use?  kradloff@flyaci.com  THANKS!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

840 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