* [Q] decladebug: displaying source lines?
@ 1994-04-19 15:34 Tony Coates
1994-04-22 18:33 ` Jeff Diewald
0 siblings, 1 reply; 4+ messages in thread
From: Tony Coates @ 1994-04-19 15:34 UTC (permalink / raw)
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 ...
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] decladebug: displaying source lines?
1994-04-19 15:34 [Q] decladebug: displaying source lines? Tony Coates
@ 1994-04-22 18:33 ` Jeff Diewald
1994-04-22 21:17 ` Sameer A. Nene
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Diewald @ 1994-04-22 18:33 UTC (permalink / raw)
In article <COATES.94Apr19113434@kelvin.physics.uq.oz.au>, 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] decladebug: displaying source lines?
1994-04-22 18:33 ` Jeff Diewald
@ 1994-04-22 21:17 ` Sameer A. Nene
1994-04-23 14:45 ` Steve Lionel
0 siblings, 1 reply; 4+ messages in thread
From: Sameer A. Nene @ 1994-04-22 21:17 UTC (permalink / raw)
Is the DECladebug group planning to add an X interface? Just curious.
Sameer.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] decladebug: displaying source lines?
1994-04-22 21:17 ` Sameer A. Nene
@ 1994-04-23 14:45 ` Steve Lionel
0 siblings, 0 replies; 4+ messages in thread
From: Steve Lionel @ 1994-04-23 14:45 UTC (permalink / raw)
In article <2p9eu0$of9@lore.cs.columbia.edu>, sameer@zen.cs.columbia.edu
(Sameer A. Nene) writes:
>
>Is the DECladebug group planning to add an X interface? Just curious.
Yup.
Steve Lionel Mail: lionel@quark.enet.dec.com
SDT Languages Group WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-04-23 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-19 15:34 [Q] decladebug: displaying source lines? Tony Coates
1994-04-22 18:33 ` Jeff Diewald
1994-04-22 21:17 ` Sameer A. Nene
1994-04-23 14:45 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox