{"action":"created","issue":{"url":"https://api.github.com/repos/raveren/kint/issues/192","repository_url":"https://api.github.com/repos/raveren/kint","labels_url":"https://api.github.com/repos/raveren/kint/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/raveren/kint/issues/192/comments","events_url":"https://api.github.com/repos/raveren/kint/issues/192/events","html_url":"https://github.com/raveren/kint/pull/192","id":150194641,"number":192,"title":"Get mini trace if called through call_user_func*","user":{"login":"jnvsor","id":5260644,"avatar_url":"https://avatars.githubusercontent.com/u/5260644?v=3","gravatar_id":"","url":"https://api.github.com/users/jnvsor","html_url":"https://github.com/jnvsor","followers_url":"https://api.github.com/users/jnvsor/followers","following_url":"https://api.github.com/users/jnvsor/following{/other_user}","gists_url":"https://api.github.com/users/jnvsor/gists{/gist_id}","starred_url":"https://api.github.com/users/jnvsor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnvsor/subscriptions","organizations_url":"https://api.github.com/users/jnvsor/orgs","repos_url":"https://api.github.com/users/jnvsor/repos","events_url":"https://api.github.com/users/jnvsor/events{/privacy}","received_events_url":"https://api.github.com/users/jnvsor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T21:23:21Z","updated_at":"2016-04-22T16:13:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/raveren/kint/pulls/192","html_url":"https://github.com/raveren/kint/pull/192","diff_url":"https://github.com/raveren/kint/pull/192.diff","patch_url":"https://github.com/raveren/kint/pull/192.patch"},"body":"Currently I'm setting the file and line of the `$callee` to the `call_user_func` call, but simply returning an array of empty values with the mini trace at the end is also a possibility"},"comment":{"url":"https://api.github.com/repos/raveren/kint/issues/comments/213495219","html_url":"https://github.com/raveren/kint/pull/192#issuecomment-213495219","issue_url":"https://api.github.com/repos/raveren/kint/issues/192","id":213495219,"user":{"login":"jnvsor","id":5260644,"avatar_url":"https://avatars.githubusercontent.com/u/5260644?v=3","gravatar_id":"","url":"https://api.github.com/users/jnvsor","html_url":"https://github.com/jnvsor","followers_url":"https://api.github.com/users/jnvsor/followers","following_url":"https://api.github.com/users/jnvsor/following{/other_user}","gists_url":"https://api.github.com/users/jnvsor/gists{/gist_id}","starred_url":"https://api.github.com/users/jnvsor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnvsor/subscriptions","organizations_url":"https://api.github.com/users/jnvsor/orgs","repos_url":"https://api.github.com/users/jnvsor/repos","events_url":"https://api.github.com/users/jnvsor/events{/privacy}","received_events_url":"https://api.github.com/users/jnvsor/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T16:13:32Z","updated_at":"2016-04-22T16:13:32Z","body":"Actually never mind, my case was a smaller case of the real issue: The minitrace doesn't show when called through `eval`:\r\n\r\n`eval(\"d('debug', 'this');\");`\r\n\r\nConsidering this larger case the second method is the way to go, and I'll be pushing a new patch that works better (And is cleaner too! Yay!)"}}