HPlogo HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers > Chapter 8 Debugging in Special Situations

Debugging Parent and Child Processes

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

Select Options:Fork Behavior or use the property fork command to specify the process to be debugged when the target program forks.

You have the following options when debugging programs that fork child processes:

  • Ignore the child process and continue to debug the parent (property fork -parent).

  • Free the parent process and debug the child (property fork -child).

  • Debug both the child and the parent process (property fork -parent -child).

When you ask the debugger to debug both processes, it automatically creates another dde invocation for the child when the fork occurs. (You cannot debug both the parent and the child processes from the line-mode user interface.)

Choose Options:Save All Settings to retain the fork behavior for future sessions.

See the property fork command description in the online reference for more information.