From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5eacfea7667858f9 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,5eacfea7667858f9 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-25 15:35:35 PST Xref: gmd.de comp.unix.osf.osf1:2965 comp.sys.dec:15071 Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!decwrl!pa.dec.com!virrus.zko.dec.com!diewald From: diewald@virrus.zko.dec.com (Jeff Diewald) Newsgroups: comp.unix.osf.osf1,comp.sys.dec Subject: Re: [Q] decladebug: displaying source lines? Date: 22 Apr 1994 18:33:22 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2p959i$7ol@usenet.pa.dec.com> References: Reply-To: diewald@virrus.zko.dec.com (Jeff Diewald) NNTP-Posting-Host: virrus.zko.dec.com X-Newsreader: mxrn 6.18-9 In article , coates@kelvin.physics.uq.oz.au (Tony Coates) writes: |>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). Tony, The #line directives are confusing DECladebug. It's a known bug. They just don't work at all, so if you can avoid using them, it should make things much better. ------------------------------------------------------------------------------- Jeff Diewald EASYNET: VIRRUS::DIEWALD DECladebug group INTERNET: diewald@virrus.zko.dec.com Digital Equipment Corp. Note: I don't read every article in this group. If you have DECladebug questions, you're much more likely to get an answer if you put "DECladebug" somewhere in the subject line.