Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000218 | mercury | Bug | public | 2011-09-26 08:41 | 2011-09-26 09:52 |
Reporter | pbone | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | low | Severity | feature | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000218: Feature request: mdb commands for working with common data structures. | ||||
Description | Often when using the degger I'd like to know something about a data structure. browser> print proc_info(context("mandelbrot.m", 279), varset(var_supply(10), map([(var(1) -> "TypeInfo_for_X"), (var(2) -> "TypeInfo_for_Y"), (... -> ...), ...]), map([])), map([ (var(1) -> defined_type(qualified(unqualified("private_builtin"), "type_info"), [], kind_star)), (var(2) -> defined_type(qualified(...), ...)), (var(...) -> ...), ..., ...]), [var(21), var(22), var(...), ...], varset(var_supply(0), map([]), map([])), yes([(ground(...) -> ...), ..., ...]), [user_defined_mode(qualified(...), ...), ..., ...], no, no, ...) browser> cd 3 browser> print map([ (var(1) -> defined_type(qualified(unqualified("private_builtin"), "type_info"), [], kind_star)), (var(2) -> defined_type(qualified(unqualified("private_builtin"), "type_info"), [], kind_star)), (var(3) -> defined_type(qualified(unqualified(...), ...), [], ...)), (var(4) -> higher_order_type(...)), (... -> ...), ...]) What I want to know at this point is var(21) present in this map and what is it's value. It'd be nice to have commands to work with maps, sets, lists, and perhaps other commonly-used data-structures to anwser these questions. This should be without using the clunky compile a .m file and dynamically load it into the binary being debugged operation. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2011-09-26 08:41 | pbone | New Issue | |||
2011-09-26 09:32 | Note Added: 0000361 | ||||
2011-09-26 09:52 | pbone | Note Added: 0000362 |