Bug in printing variables under {r,m}mdb

Erwan Jahier Erwan.Jahier at irisa.fr
Fri Sep 4 21:26:46 AEST 1998


The printing of live variables during the execution of samples/sort.m
does not seem to work:

>From event number number 9 until the end, mmdb only prints the internal
names of the variables. Under rmdb (Rennes Mercury Debugger, waiting to
find a better name...) it prints variables OK until event 14 and then
crashes...


Is that problem correspond to a fixed bug ?
(I haven't tried with a more recent release of mmc, rotd-1998-07-20 is
more recent one in ftp://turiel.cs.mu.OZ.AU/pub/mercury/beta-releases/)



---------------------------------------------------------
hcand[13:06]%mmc -v
Mercury Compiler, version rotd-1998-07-20, configured for
sparc-sun-solaris2.5.1
Copyright (C) 1993-1998 The University of Melbourne
Usage: mmc [<options>] <arguments>
Use `mmc --help' for more information.
hcand[13:06]%mmc --trace all sort.m
hcand[13:06]%mdb ./sort essai sorted
       1:      1  1 CALL DET   sort:main/2-0 
mtrace> g 8
       8:      2  2 SWTC DET   sort:handle_args/4-0 c2;s2;
mtrace> p *
          DCG_1                         state('<<c_pointer>>')
          HeadVar__1                    yes("essai")
          HeadVar__2                    yes("sorted")
mtrace> 
       9:      2  2 SWTC DET   sort:handle_args/4-0 c2;s2;c3;s2;
mtrace> p *
          HeadVar__1           
          HeadVar__2           
          HeadVar__4           
mtrace> 
      10:      2  2 EXIT DET   sort:handle_args/4-0 
mtrace> p *
          HeadVar__1           
          HeadVar__2           
          HeadVar__4           
mtrace> 

-- 
R1.



More information about the developers mailing list