Solved

VC++ 5 Debugging Multi-Processes

Posted on 1998-01-14
2
177 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  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 …
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 how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

731 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