From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c05643a4638e537 X-Google-Attributes: gidfee84,public From: tquan@ibm.net (Tony Quan) Subject: Re: dbx on Alpha Date: 1996/09/12 Message-ID: #1/1 X-Deja-AN: 180126883 references: <515uu5$o3e@newton.cc.rl.ac.uk> newsgroups: comp.unix.osf.osf1 In article <515uu5$o3e@newton.cc.rl.ac.uk>, bkm@star.rl.ac.uk (Brian McIlwrath) wrote: > I only use Digital Unix periodically and, often when I come to debug some > code, I hit the folling problem: > > If a process forks off a child to do some work for it dbx says > > "New child attached. Use switch to gain access to process nnnnnn" > > It then seems to hang. There is no dbx prompt to type 'switch' to. I am > totally uninterested in the child process. I want to debug the parent! > I have NOT used "attach" to gain access to a running program (it was > started by a simple 'dbx imagefile') > > All most frustrating. > > Is there an answer? > > Brian McIlwrath > -- > ------------------------------------------------------------------------- > Brian McIlwrath, e-mail: bkm@star.rl.ac.uk > Starlink Project, > Space Science Department, > Rutherford Appleton Laboratory, UK. > ------------------------------------------------------------------------- Try using the -noproc flag when starting up dbx, ie dbx -noproc imagefile --Tony tquan@ibm.net