{"action":"created","issue":{"url":"https://api.github.com/repos/raphw/byte-buddy/issues/65","labels_url":"https://api.github.com/repos/raphw/byte-buddy/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/raphw/byte-buddy/issues/65/comments","events_url":"https://api.github.com/repos/raphw/byte-buddy/issues/65/events","html_url":"https://github.com/raphw/byte-buddy/issues/65","id":109673956,"number":65,"title":"Add method matching and delegation debugging aid","user":{"login":"CodingFabian","id":176132,"avatar_url":"https://avatars.githubusercontent.com/u/176132?v=3","gravatar_id":"","url":"https://api.github.com/users/CodingFabian","html_url":"https://github.com/CodingFabian","followers_url":"https://api.github.com/users/CodingFabian/followers","following_url":"https://api.github.com/users/CodingFabian/following{/other_user}","gists_url":"https://api.github.com/users/CodingFabian/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingFabian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingFabian/subscriptions","organizations_url":"https://api.github.com/users/CodingFabian/orgs","repos_url":"https://api.github.com/users/CodingFabian/repos","events_url":"https://api.github.com/users/CodingFabian/events{/privacy}","received_events_url":"https://api.github.com/users/CodingFabian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/raphw/byte-buddy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"raphw","id":4489328,"avatar_url":"https://avatars.githubusercontent.com/u/4489328?v=3","gravatar_id":"","url":"https://api.github.com/users/raphw","html_url":"https://github.com/raphw","followers_url":"https://api.github.com/users/raphw/followers","following_url":"https://api.github.com/users/raphw/following{/other_user}","gists_url":"https://api.github.com/users/raphw/gists{/gist_id}","starred_url":"https://api.github.com/users/raphw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphw/subscriptions","organizations_url":"https://api.github.com/users/raphw/orgs","repos_url":"https://api.github.com/users/raphw/repos","events_url":"https://api.github.com/users/raphw/events{/privacy}","received_events_url":"https://api.github.com/users/raphw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/raphw/byte-buddy/milestones/19","html_url":"https://github.com/raphw/byte-buddy/milestones/0.7","labels_url":"https://api.github.com/repos/raphw/byte-buddy/milestones/19/labels","id":1195355,"number":19,"title":"0.7","description":null,"creator":{"login":"raphw","id":4489328,"avatar_url":"https://avatars.githubusercontent.com/u/4489328?v=3","gravatar_id":"","url":"https://api.github.com/users/raphw","html_url":"https://github.com/raphw","followers_url":"https://api.github.com/users/raphw/followers","following_url":"https://api.github.com/users/raphw/following{/other_user}","gists_url":"https://api.github.com/users/raphw/gists{/gist_id}","starred_url":"https://api.github.com/users/raphw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphw/subscriptions","organizations_url":"https://api.github.com/users/raphw/orgs","repos_url":"https://api.github.com/users/raphw/repos","events_url":"https://api.github.com/users/raphw/events{/privacy}","received_events_url":"https://api.github.com/users/raphw/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":28,"state":"open","created_at":"2015-07-06T17:27:36Z","updated_at":"2015-10-05T11:40:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-04T10:30:44Z","updated_at":"2015-10-05T11:43:18Z","closed_at":null,"body":"The biggest problem when using Byte Buddy for me is that it is hard to know what `ElementMatchers` matched what methods and what `MethodDelegation` is applied. While matchers can be inspected easier by printing the matched `MethodDescription`, `MethodDelegation` is trickier to figure out. This can be also seen on numerous *why did my method not get invoked* posts on the mailing list.\r\n`AgentBuilder#Listener` could be a candidate, but I guess a more global *tell me what matched* listener could help.\r\n\r\nIf a solution exists in Byte Buddy it is too hidden. "},"comment":{"url":"https://api.github.com/repos/raphw/byte-buddy/issues/comments/145502837","html_url":"https://github.com/raphw/byte-buddy/issues/65#issuecomment-145502837","issue_url":"https://api.github.com/repos/raphw/byte-buddy/issues/65","id":145502837,"user":{"login":"raphw","id":4489328,"avatar_url":"https://avatars.githubusercontent.com/u/4489328?v=3","gravatar_id":"","url":"https://api.github.com/users/raphw","html_url":"https://github.com/raphw","followers_url":"https://api.github.com/users/raphw/followers","following_url":"https://api.github.com/users/raphw/following{/other_user}","gists_url":"https://api.github.com/users/raphw/gists{/gist_id}","starred_url":"https://api.github.com/users/raphw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphw/subscriptions","organizations_url":"https://api.github.com/users/raphw/orgs","repos_url":"https://api.github.com/users/raphw/repos","events_url":"https://api.github.com/users/raphw/events{/privacy}","received_events_url":"https://api.github.com/users/raphw/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T11:43:18Z","updated_at":"2015-10-05T11:43:18Z","body":"You are right, this is currently difficult. I will try to think of a way. It is a bit tricky though, to supply better means. Any interceptor could be user-supplied and this approach would require implementors to supply such information.\r\n\r\nIdealy, the error messages of any interceptor supply sufficient information for debugging but I am aware that this is currently not always the case."}}