Somewhat similar to SetBreakOnLibraryError, I suggest the addition of a function that does a breakpoint when the specific attribute of a panel/control changes.
It could work like this:
SetBreakOnCtrlAttributeChange(panel, control, Attribute)
with also:
ClearBreakOnCtrlAttributeChange(panel, control, Attribute) // Use -1 to clear them all
SetBreakOnPanelAttributeChange(panel, Attribute),
ClearBreakOnPanelAttributeChange(panel, Attribute) // Use -1 to clear them all
Example of use:
SetBreakOnCtrlAttributeChange(panel, control, ATTR_CTRL_VAL)
SetBreakOnCtrlAttributeChange(panel, control, ATTR_VISIBLE)