How do I debug a RoutedUICommand when the associated UIElement is disabled.
For example, consider the ContextMenu. Since it exists in a different VisualTree, a command written with the menu item might not be able to propagate from it to the parent where it has been subscribed. In such scenarios, imagine that the source code is so huge, how do I debug. Are there any tools to assist me in finding these kind of errors/mistakes.