Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: AR@iswvax (ANGERBAUER, RO 12.99)
Subject: Debugging multiple processes with ULTRIX (Example: AutoCAD application
Date: 27 Aug 1993 16:28:02 GMT	[thread overview]
Message-ID: <25lcmi$9o1@info2.rus.uni-stuttgart.de> (raw)


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
--------------------------------------------------------------------------------



                 reply	other threads:[~1993-08-27 16:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox