?
Solved

VC++ 5 Debugging Multi-Processes

Posted on 1998-01-14
2
Medium Priority
?
186 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 300 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
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 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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

862 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