{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/5951","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/5951/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/5951/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/5951/events","html_url":"https://github.com/dotnet/coreclr/issues/5951","id":161962224,"number":5951,"title":"Shift F5 , While debugging a core Unit test project causes dotnet.exe to crash","user":{"login":"jinujoseph","id":12449387,"avatar_url":"https://avatars.githubusercontent.com/u/12449387?v=3","gravatar_id":"","url":"https://api.github.com/users/jinujoseph","html_url":"https://github.com/jinujoseph","followers_url":"https://api.github.com/users/jinujoseph/followers","following_url":"https://api.github.com/users/jinujoseph/following{/other_user}","gists_url":"https://api.github.com/users/jinujoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/jinujoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinujoseph/subscriptions","organizations_url":"https://api.github.com/users/jinujoseph/orgs","repos_url":"https://api.github.com/users/jinujoseph/repos","events_url":"https://api.github.com/users/jinujoseph/events{/privacy}","received_events_url":"https://api.github.com/users/jinujoseph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-23T16:09:42Z","updated_at":"2016-06-23T22:59:08Z","closed_at":null,"body":"**Repro steps** \r\n- Create a core class Library  \r\n- Add below in your project.json file \r\n\r\n```\r\n{\r\n  \"version\": \"1.0.0-*\",\r\n\r\n  \"dependencies\": {\r\n    \"Microsoft.NETCore.App\": {\r\n      \"version\": \"1.0.0\",\r\n      \"type\": \"platform\"\r\n    },\r\n    \"System.Runtime.Serialization.Primitives\": \"4.1.1-rc2-24027\",\r\n    \"xunit\": \"2.1.0\",\r\n    \"dotnet-test-xunit\": \"1.0.0-rc2-build10025\"\r\n  },\r\n  \"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n      \"imports\": [\r\n        \"netstandardapp1.5\",\r\n        \"dnxcore50\",\r\n        \"portable-net45+win8\"\r\n      ]\r\n    }\r\n  },\r\n  \"testRunner\": \"xunit\"\r\n}\r\n```\r\n\r\n- Add below to your class1.cs \r\n```\r\nusing Xunit;\r\n\r\nnamespace UnitTest1\r\n{\r\n    public class Class1\r\n    {\r\n       [Fact]\r\n        public void UnitTest1()\r\n        {\r\n            Assert.True(true);\r\n\r\n        }\r\n\r\n        [Fact]\r\n        public void UnitTest2()\r\n        {\r\n            Assert.False(true);\r\n        }\r\n    }\r\n}\r\n```\r\n- Run the Unit test and make sure every thing works .\r\n- Put a breakpoint in your first test , then do a debug test on that.\r\n- When the breakpoint hits , Press SHIFT F5\r\n\r\nI get this \r\n![image](https://cloud.githubusercontent.com/assets/12449387/16310544/ce2c4690-3921-11e6-8b27-abbf0af1343f.png)\r\n\r\n\r\nI can give access to my repro machine, if anyone want to take a look.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/228210663","html_url":"https://github.com/dotnet/coreclr/issues/5951#issuecomment-228210663","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/5951","id":228210663,"user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T22:59:08Z","updated_at":"2016-06-23T22:59:08Z","body":"So, here is my take then: I believe that the process is not being aborted, but the adapter is being aborted. Now, the runner is trying to send test results on a channel that is now closed and it crashes. Can you guys double check that you are killing the runner process when you stop debugging?"}}
{"actor":{"display_login":"livarcocc"}}