[Debugger] Watch on accesses of "variables"
I would like to put a "watch" on certain parts of records. With such a watch in place, when writing to such a part of a record (e.g. foo{bar = 2} a new break point would be activated and the current line number would be shown somewhere. I believe the "watch" terminology is used in other debuggers. Often such a breakpoint will halt in a set_foo_bar function. This obviously would be the wrong result. The result should be a chain of calls like in the output of -xc. The user should be able to quickly move through such chains (with showing line numbers, etc).
Trac metadata
Trac field | Value |
---|---|
Version | 6.7 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |