From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ee521299efb0bfd2,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-27 09:38:21 PST Path: gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news From: AR@iswvax (ANGERBAUER, RO 12.99) Newsgroups: comp.sys.dec Subject: Debugging multiple processes with ULTRIX (Example: AutoCAD application Date: 27 Aug 1993 16:28:02 GMT Organization: University of Stuttgart, ISW Distribution: world Message-ID: <25lcmi$9o1@info2.rus.uni-stuttgart.de> NNTP-Posting-Host: iswvax.isw.uni-stuttgart.de X-News-Reader: VMS NEWS 1.22 Debugging multiple processes with ULTRIX (Example: AutoCAD application) ----------------------------------------------------------------------- I want to debug applications that consist of more than one process. An example is the application programming with AutoCAD. AutoCAD is the first process within which you start your own progammed AutoCAD application (child process). I can't find any way to debug this child process. I tried the following things. - I searched for an appropriate option in the "dbx" debugger. Unfortunately there is no option to attach the "dbx" debugger to an already running process. On Sun-OS an the IRIS operating system there such an option exists (-p pid and -P process name). - I tried the "GNU" debugger "gdb" and obtained the following result (the name of the child process is off_line_sys and it's process id is 6747): gdb (gdb) file off_line_sys Reading symbols from off_line_sys...done. (gdb) attach 6747 Can't attach to a process on this machine. (gdb) 8-( - Another attempt was the the debugger "ups". But in the manuals of ups I found the remark that attaching the debugger to an already running process is only possible on Suns. Questions --------- -> Is there an principle problem with debugging an already running process with ULTRIX ? -> Is there a debugger other than "dbx", "gdb" or "ups", which can attach to an already running process? Ronald Angerbauer -------------------------------------------------------------------------------- Universitaet Stuttgart | Institut fuer Steuerungstechnik | "There are two ways to write Ronald Angerbauer | error-free programs. Only the Seidenstrasse 36 | third one works." 70174 Stuttgart | Germany | -------------------------------------------------------------------------------- email: xar@iswsun.isw.uni-stuttgart.de --------------------------------------------------------------------------------