{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9611","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9611/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9611/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9611/events","html_url":"https://github.com/ipython/ipython/issues/9611","id":160043597,"number":9611,"title":"Can't exit debug magic after using a completion","user":{"login":"ngoldbaum","id":3126246,"avatar_url":"https://avatars.githubusercontent.com/u/3126246?v=3","gravatar_id":"","url":"https://api.github.com/users/ngoldbaum","html_url":"https://github.com/ngoldbaum","followers_url":"https://api.github.com/users/ngoldbaum/followers","following_url":"https://api.github.com/users/ngoldbaum/following{/other_user}","gists_url":"https://api.github.com/users/ngoldbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoldbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoldbaum/subscriptions","organizations_url":"https://api.github.com/users/ngoldbaum/orgs","repos_url":"https://api.github.com/users/ngoldbaum/repos","events_url":"https://api.github.com/users/ngoldbaum/events{/privacy}","received_events_url":"https://api.github.com/users/ngoldbaum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ipython/ipython/milestones/25","html_url":"https://github.com/ipython/ipython/milestones/5.0","labels_url":"https://api.github.com/repos/ipython/ipython/milestones/25/labels","id":1020999,"number":25,"title":"5.0","description":"","creator":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":220,"state":"open","created_at":"2015-03-13T21:27:20Z","updated_at":"2016-06-15T22:03:08Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-06-13T20:59:24Z","updated_at":"2016-06-15T22:03:08Z","closed_at":"2016-06-15T22:03:08Z","body":"This is under IPython 5.0b3. Here's a sample session that illustrates the issue:\r\n\r\n```\r\nIn [1]: def raise_error():\r\n   ...:     raise RuntimeError\r\n   ...:\r\n   ...:\r\n\r\nIn [2]: raise_error()\r\n---------------------------------------------------------------------------\r\nRuntimeError                              Traceback (most recent call last)\r\n<ipython-input-2-b471b5468223> in <module>()\r\n----> 1 raise_error()\r\n\r\n<ipython-input-1-dafa64cbfa5c> in raise_error()\r\n      1 def raise_error():\r\n----> 2     raise RuntimeError\r\n      3\r\n\r\nRuntimeError:\r\n\r\nIn [3]: %debug\r\n> <ipython-input-1-dafa64cbfa5c>(2)raise_error()\r\n      1 def raise_error():\r\n----> 2     raise RuntimeError\r\n      3\r\n\r\nipdb> RuntimeError\r\n<type 'exceptions.RuntimeError'>\r\nipdb> quit()\r\nipdb> quit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\nipdb> quit()\r\nipdb> quit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\nipdb> exit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\nipdb> exit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\nipdb> exit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\nipdb> exit\r\n<IPython.core.autocall.ExitAutocall object at 0x10d534c90>\r\n```\r\nI was eventually able to exit out of IPython completely using ctrl-c."},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/226333714","html_url":"https://github.com/ipython/ipython/issues/9611#issuecomment-226333714","issue_url":"https://api.github.com/repos/ipython/ipython/issues/9611","id":226333714,"user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T22:03:08Z","updated_at":"2016-06-15T22:03:08Z","body":"fixed by #9622"}}
{"actor":{"display_login":"Carreau"}}