[m-users.] 'help' in debugger shows nothing

Harrison Pincket harrisonpincket at gmail.com
Sun May 26 07:55:49 AEST 2019


Thanks for your response,

This is now with ROTD 2019-05-21 but the situation is the same.

> $install_dir/lib/mercury/mdb

I believe my install directory is /usr/local/mercury-rotd-2019-05-21

> (a) one or both of those files are missing or damanged

I've attached my `mdbrc` found in the above directory. But I don't see
mdb_doc.

> (b) the mdb script you are executing does not set the
MERCURY_DEBUGGER_INIT environment variable to point to the mdbrc script

The env var is set I believe. I added an 'echo' to the script and it
prints out what looks to be the correct path. I've attached it as well.

I looked around a little bit and I believe most of the documentation is
missing in `/usr/local/mercury-rotd-2019-05-21/share`. A listing of
files in this path shows:

/usr/local/mercury-rotd-2019-05-21/share$ fd .
doc
doc/mercury-rotd-2019-05-21
info
man
man/man1
man/man1/c2init.1
man/man1/mdb.1
man/man1/mercury_config.1
man/man1/mgnuc.1
man/man1/ml.1
man/man1/mmake.1
man/man1/mmc.1
man/man1/mprof.1
man/man1/mprof_merge_runs.1
man/man1/mtags.1

which seems incomplete.

Thanks again for your help,
Harrison
-------------- next part --------------
source /usr/local/mercury-rotd-2019-05-21/lib/mercury/mdb/mdb_doc
alias	s	step
alias	g	goto
alias	f	finish
alias	r	retry
alias	v	vars
alias	p	print
alias	P	print *
alias	d	stack
alias	c	continue
alias	b	break
alias	h	help
alias	?	help
alias	excp	exception
alias	e	exception
alias	EMPTY	step
alias	NUMBER	step
alias	!	shell
alias	open	source /usr/local/mercury-rotd-2019-05-21/lib/mercury/mdb/mdb_open
alias	grep	source /usr/local/mercury-rotd-2019-05-21/lib/mercury/mdb/mdb_grep
alias	track	source /usr/local/mercury-rotd-2019-05-21/lib/mercury/mdb/mdb_track
xml_browser_cmd ''
xml_tmp_filename ''
web_browser_cmd 'xdg-open'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdb
Type: application/x-shellscript
Size: 5434 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/users/attachments/20190525/4d161c69/attachment.bin>


More information about the users mailing list