From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5eacfea7667858f9,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,5eacfea7667858f9,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-19 11:34:34 PST Xref: gmd.de comp.unix.osf.osf1:2921 comp.sys.dec:15014 Path: gmd.de!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1.cse.psu.edu!news.cc.swarthmore.edu!netnews.upenn.edu!msuinfo!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!dingo.cc.uq.oz.au!coates From: coates@kelvin.physics.uq.oz.au (Tony Coates) Newsgroups: comp.unix.osf.osf1,comp.sys.dec Subject: [Q] decladebug: displaying source lines? Date: 19 Apr 94 11:34:34 Organization: Department of Physics, The University of Queensland Distribution: world Message-ID: Reply-To: coates@physics.uq.oz.au NNTP-Posting-Host: kelvin.physics.uq.oz.au I have been writing C++ programs on a DEC AXP (Alpha) running OSF/1.3, compiling them with the DEC cxx compiler, but an unable to get the decladebug (ladbx) debugger to work properly. Specifically, the debugger is unable to show me the source line in the code where it is currently stopped. This reduces its functionality somewhat. The one caveat about my code is that the .cc files are generated from another file automatically, with #line directives referring back to the original file. Hence I wonder whether it is that #line directives in the debugging version of the code (I used the -g2 flag) are confusing the debugger, or whether it is confused by the extensions of the source files (which are .fw and .fwi). If anyone has any ideas as to how I might get around the problem that I am having, I would be really grateful. For now, cxx is proving to be a difficult development environment because of the difficulty in debugging code, particularly the inability to adequately examine core dumps. I'm open to all suggestions, though. Thanks in advance for any help, Cheers, Tony. -- _____________________________________________________________________________ A.B.Coates, Dept. of Physics, The University of Queensland QLD 4072 Australia. Email: coates@physics.uq.oz.au Phone: (07/+617) 365-3424 Fax: (07/+617) 365-1242 Disclaimer: The University is ignorant of my opinions, let alone guilty ... _____________________________________________________________________________