Solved

VC++ 5 Debugging Multi-Processes

Posted on 1998-01-14
2
172 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
Comment Utility
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
Comment Utility
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 run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now