How to find a Control using a specific event

I got below exception, and trying to find the root cause of it.
However, I couldn’t find a control using a ‘MouseUP’ event. My bad.

Do you know how to find all of Controls using ‘MouseUp’ event in Application?

MainWindow.MainWindow.DBConnectButton_Action%%o<MainWindow.MainWindow>o<UI_Button>
Delegate.IM_Invoke%%o<UI_Button>
AddHandler.Stub.26%%
UI_Button.Event_MouseUp%%o<UI_Button>i4i4

Actually, it’s the one at the to that you’re interested in. The exception is in DBConnectButton.Action. Stacks are reversed with most recent items on top.

Ok. I see.

Most likely, I should check the Action event of the DBConnectButton instead of ‘MouseUp’ event.

Thanks for the comment.