{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/23","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/23/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/23/events","html_url":"https://github.com/Microsoft/PTVS/issues/23","id":70179038,"number":23,"title":"Can't debug unit tests on VS2015 RC","user":{"login":"huguesv","id":1696845,"avatar_url":"https://avatars.githubusercontent.com/u/1696845?v=3","gravatar_id":"","url":"https://api.github.com/users/huguesv","html_url":"https://github.com/huguesv","followers_url":"https://api.github.com/users/huguesv/followers","following_url":"https://api.github.com/users/huguesv/following{/other_user}","gists_url":"https://api.github.com/users/huguesv/gists{/gist_id}","starred_url":"https://api.github.com/users/huguesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huguesv/subscriptions","organizations_url":"https://api.github.com/users/huguesv/orgs","repos_url":"https://api.github.com/users/huguesv/repos","events_url":"https://api.github.com/users/huguesv/events{/privacy}","received_events_url":"https://api.github.com/users/huguesv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T16:52:04Z","updated_at":"2015-04-22T16:52:04Z","closed_at":null,"body":"VS 2015 22822.1 D14REL\r\nPTVS 2.2 CL1457733_VS2015_22820\r\n\r\nCreate python app\r\nAdd item, unit test\r\n\r\n```\r\n    def test_A(self):\r\n        a = 0\r\n        b = 10\r\n        pass\r\n```\r\n\r\nPut a breakpoint on `a = 0`.\r\nDebug test\r\n\r\nOccasionally, I get this access violation exception (debugger breaks).\r\n\r\nBut most of the time, it runs without debugging.  You don't see the \"2nd attach\" happening at all.  This is worse than with CTP 6 where it would sometimes work as expected (debug and stop at that breakpoint), sometimes get the access violation.\r\n\r\nI tried C# and C++ (native) unit test debugging, and haven't had seen any issue yet.\r\n\r\n```\r\nSystem.AccessViolationException was unhandled\r\nMessage: An unhandled exception of type 'System.AccessViolationException' occurred in System.ServiceModel.dll\r\nAdditional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\n```\r\n"}}