{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/3926","repository_url":"https://api.github.com/repos/facebook/hhvm","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/3926/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/3926/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/3926/events","html_url":"https://github.com/facebook/hhvm/issues/3926","id":45206960,"number":3926,"title":"hhvm's XDebug and the GEBEN debugging plugin can get into a state where hhvm reports thousands of identical errors","user":{"login":"mattflaschen","id":505874,"avatar_url":"https://avatars.githubusercontent.com/u/505874?v=3","gravatar_id":"","url":"https://api.github.com/users/mattflaschen","html_url":"https://github.com/mattflaschen","followers_url":"https://api.github.com/users/mattflaschen/followers","following_url":"https://api.github.com/users/mattflaschen/following{/other_user}","gists_url":"https://api.github.com/users/mattflaschen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattflaschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattflaschen/subscriptions","organizations_url":"https://api.github.com/users/mattflaschen/orgs","repos_url":"https://api.github.com/users/mattflaschen/repos","events_url":"https://api.github.com/users/mattflaschen/events{/privacy}","received_events_url":"https://api.github.com/users/mattflaschen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/needs%20more%20info","name":"needs more info","color":"f7c6c7"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/php5%20incompatibility","name":"php5 incompatibility","color":"837ced"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-10-08T05:55:58Z","updated_at":"2016-04-15T11:53:13Z","closed_at":null,"body":"I've been testing HHVM with remote XDebug and Emacs's [GEBEN plugin](https://code.google.com/p/geben-on-emacs/) (the client/IDE side of the protocol).  I've used GEBEN successfully with stock XDebug in the past.\r\n\r\nIt's not as reliable in general (e.g. it sometimes displays the line of an outer function instead of the line where you are, and commands sometimes apparently take retrying to work), but the specific bug I'm reporting here is where the error reporting hits a loop.\r\n\r\nI've seen this with both \"parse error in command\" and \"command is not available\".\r\n\r\nI think this might be some bad interaction where HHVM isn't doing what GEBEN expects; GEBEN might be retrying in a loop, or HHVM might just be getting caught in its own loop (not sure).\r\n\r\nSo e.g. Emacs displays this as:\r\n\r\nCommand error: parse error in command [60013 times]\r\n\r\n(meaning that output was put into Emacs's message buffer 60,013 times) or:\r\n\r\nCommand error: command is not available [50061 times]\r\n\r\nI've specifically seen this with geben-run-to-cursor (telling the debugger to run until you get to the current line).  I think this may be because HHVM isn't expecting this at the current time (possibly because of the above-mentioned confusion about what line/scope it's on)."},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/210436759","html_url":"https://github.com/facebook/hhvm/issues/3926#issuecomment-210436759","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/3926","id":210436759,"user":{"login":"flinttechnology","id":7438248,"avatar_url":"https://avatars.githubusercontent.com/u/7438248?v=3","gravatar_id":"","url":"https://api.github.com/users/flinttechnology","html_url":"https://github.com/flinttechnology","followers_url":"https://api.github.com/users/flinttechnology/followers","following_url":"https://api.github.com/users/flinttechnology/following{/other_user}","gists_url":"https://api.github.com/users/flinttechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/flinttechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flinttechnology/subscriptions","organizations_url":"https://api.github.com/users/flinttechnology/orgs","repos_url":"https://api.github.com/users/flinttechnology/repos","events_url":"https://api.github.com/users/flinttechnology/events{/privacy}","received_events_url":"https://api.github.com/users/flinttechnology/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T11:53:13Z","updated_at":"2016-04-15T11:53:13Z","body":"Yes, is seems hhvm is not xdebug compliant.\r\n\r\nThe filename attribute should contain a valid \"file URI\", as stated by the xdebug specification (https://xdebug.org/docs-dbgp.php#stack-get).\r\n"}}