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

Julien Fischer <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>

On Tue, 18 Oct 2022, Razetime wrote:

> 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?

You can use the "browse" command to examine the value.
(Do "help browse" at the mdb> prompt for information.)

Julien.
_______________________________________________
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.