Re: [m-users.] mmc --debug and mdb usage problems

Razetime <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <CAMtxHUuH--3+y-SpnrxLG9CTW4VsQyqRrHpqDuoP3MPBQC23og@mail.gmail.com>
Thanks, rebuilding made it work correctly.
In the debugger i'm trying to print a variable that contains a value
of type array2d:

mdb> print 8
       LambdaHeadVar__3 (arg 8) array2d(3, 7, <<array>>/21)
mdb> print -v 8
       LambdaHeadVar__3 (arg 8)
array2d
1-3
2-7
3-<<array>>/21

mdb> print -p 8
       LambdaHeadVar__3 (arg 8)
array2d(3, 7, ...)

how do I make it display all data inside the array2d?

On 10/18/22, Volker Wysk <[email protected]> wrote:
> Am Dienstag, dem 18.10.2022 um 22:36 +1100 schrieb Julien Fischer:
>> The problem is that you have some existing object files that are built
>> in the asm_fast.gc grade.  If you force everything to be rebuilt, by
>> doing:
>>
>>     $ mmc --grade asm_fast.gc.decldebug.stseg --rebuild a07
>>
>> it should go away.
>
> Or just remove the "Mercury" directory.
>
> Volker
>
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.