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

x
?
Solved

VC++ 5 Debugging Multi-Processes

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
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.

636 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