From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f7bd794ab23aca4a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-05-04 11:21:59 PST Path: bga.com!news.sprintlink.net!hookup!ames!decwrl!pa.dec.com!src.dec.com!crl.dec.com!jac.zko.dec.com!star.dec.com!dipirro From: dipirro@star.enet.dec.com (Steve DiPirro) Newsgroups: comp.sys.dec Subject: Re: Symbolic debugger on OpenVMS AXP Date: 4 MAY 94 14:00:50 EDT Organization: Digital Equipment Corporation Message-ID: <2q8odn$fe@jac.zko.dec.com> References: <2q8d89$qq5@access1.digex.net> NNTP-Posting-Host: STAR In article <2q8d89$qq5@access1.digex.net>, igork@access1.digex.net (Igor Kapuscinski) writes... >1. " Per documentation, the symbolic debugger cannot examine/deposit >variable length variant records. This is likely to cause problems with >Ada program development until this is fixed." Maybe someone from the DEBUG engineering team is reading this and can comment...but if true, this sounds like a bug to me. This would be a showstopper problem for debugging code in a lot of languages, not just Ada. >2. "The debugger also cannot consistently STEP/INTO called routines. THis >maybe related to: > a. calling generic subprogram parameters > b. inlined code > c. a general problem mapping machine addresses to source code > d. nore recognizing different sequences of machine instructions You will definitely see different behavior here than on VAX, but you'll see this sort of behavior on any RISC architecture where compilers do a lot of the optimizing work. So routines are inlined, loops unrolled, etc., making a HLL source statement potentially jump all over the place in the machine code. If you compile /NOOPT, then you don't see as much of this. However, it's also possible to mask the problem you're trying to debug this way. So there is considerable effort underway to improve user feedback and understanding of what's going on during debugging of optimized code. Problem "c" above is either a bug or a misinterpretation of one of the other problems. When you appear to be jumping around in the machine code but on the same source line statement, you might think there's such a problem. Our experience is that developers quickly get used to the new environment and those with RISC experience from other architectures adjust most quickly. ------------ Steve DiPirro dipirro@star.enet.dec.com ------------