{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/2182","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2182/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/2182/events","html_url":"https://github.com/LLNL/spack/issues/2182","id":186174267,"number":2182,"title":"spack code difficult to debug because of frequent use of fork","user":{"login":"BarrySmith","id":512185,"avatar_url":"https://avatars.githubusercontent.com/u/512185?v=3","gravatar_id":"","url":"https://api.github.com/users/BarrySmith","html_url":"https://github.com/BarrySmith","followers_url":"https://api.github.com/users/BarrySmith/followers","following_url":"https://api.github.com/users/BarrySmith/following{/other_user}","gists_url":"https://api.github.com/users/BarrySmith/gists{/gist_id}","starred_url":"https://api.github.com/users/BarrySmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarrySmith/subscriptions","organizations_url":"https://api.github.com/users/BarrySmith/orgs","repos_url":"https://api.github.com/users/BarrySmith/repos","events_url":"https://api.github.com/users/BarrySmith/events{/privacy}","received_events_url":"https://api.github.com/users/BarrySmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-30T23:44:57Z","updated_at":"2016-10-30T23:53:48Z","closed_at":null,"body":"Because of the use of \r\n\r\n```\r\n   p.start()\r\n    exc_type, exception, traceback = parent_connection.recv()\r\n    p.join()\r\n    if exception is not None:\r\n        raise exception\r\n```\r\n\r\nIt is difficult to debug crashes in the package's code. I tried \r\n\r\n`./spack --pdb install package `\r\n\r\nand it still didn't allowing debugging the inner python code.  \r\n\r\nI understand the rational for using subprocesses for packages but is there any way to use the debugger with them? Perhaps when ./spack is run with --pdb the subprocesses are not used?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/257189701","html_url":"https://github.com/LLNL/spack/issues/2182#issuecomment-257189701","issue_url":"https://api.github.com/repos/LLNL/spack/issues/2182","id":257189701,"user":{"login":"tgamblin","id":299842,"avatar_url":"https://avatars.githubusercontent.com/u/299842?v=3","gravatar_id":"","url":"https://api.github.com/users/tgamblin","html_url":"https://github.com/tgamblin","followers_url":"https://api.github.com/users/tgamblin/followers","following_url":"https://api.github.com/users/tgamblin/following{/other_user}","gists_url":"https://api.github.com/users/tgamblin/gists{/gist_id}","starred_url":"https://api.github.com/users/tgamblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgamblin/subscriptions","organizations_url":"https://api.github.com/users/tgamblin/orgs","repos_url":"https://api.github.com/users/tgamblin/repos","events_url":"https://api.github.com/users/tgamblin/events{/privacy}","received_events_url":"https://api.github.com/users/tgamblin/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T23:53:48Z","updated_at":"2016-10-30T23:53:48Z","body":"@alalazo I think this regressed in #1186 "}}
{"actor":{"display_login":"tgamblin"}}