{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2658","repository_url":"https://api.github.com/repos/Microsoft/vscode-cpptools","labels_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2658/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2658/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2658/events","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/2658","id":369488390,"node_id":"MDU6SXNzdWUzNjk0ODgzOTA=","number":2658,"title":"[C++ extension]Some issues on Watch window when add expression 'a++'","user":{"login":"LynnZhang01","id":32084574,"node_id":"MDQ6VXNlcjMyMDg0NTc0","avatar_url":"https://avatars0.githubusercontent.com/u/32084574?v=4","gravatar_id":"","url":"https://api.github.com/users/LynnZhang01","html_url":"https://github.com/LynnZhang01","followers_url":"https://api.github.com/users/LynnZhang01/followers","following_url":"https://api.github.com/users/LynnZhang01/following{/other_user}","gists_url":"https://api.github.com/users/LynnZhang01/gists{/gist_id}","starred_url":"https://api.github.com/users/LynnZhang01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LynnZhang01/subscriptions","organizations_url":"https://api.github.com/users/LynnZhang01/orgs","repos_url":"https://api.github.com/users/LynnZhang01/repos","events_url":"https://api.github.com/users/LynnZhang01/events{/privacy}","received_events_url":"https://api.github.com/users/LynnZhang01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T10:14:48Z","updated_at":"2018-10-12T10:14:48Z","closed_at":null,"author_association":"NONE","body":"Environment data\r\nRuntime Environment:\r\nOS Name: Windows\r\nOS Version: Windows-10-Enterprise-RS4-VSDrop-09-20-2018\r\nRID: win10-x64\r\nVS Code Version:1.28.0\r\nC++ Extension Version: \r\nSteps to reproduce:\r\n1.Install and open Cygwin ,then make a folder CPP\r\n2.Create a .cpp file and add some code with\r\n```\r\nint main()\r\n{\r\nint a=1;\r\nint b=2; //set a BP1\r\ncout<<\"please input a number:\"<<endl;\r\ncin>>a;\r\nwhile(true)\r\n{\r\n     cout<<\"hello\"<<endl; //set a BP2\r\n}\r\nreturn 0;\r\n}\r\n```\r\n3.Compiler the a.cpp to a.exe with cygwin\r\n4.Open the folder CPP with vscode as admin\r\n5.Set Breakpoints\r\n6.Open.json and set as following:\r\n\"externalConsole\": false,\r\n\"miDebuggerPath\": \"C:\\cygwin64\\bin\\gdb.exe\",\r\n7.F5 ,wait hit first breakpoint\r\n8.Add expression 'a++' on WATCH \r\n9.Continue to click \"+\" \r\n10.Click Blank space\r\n**Expect**\r\n1.The value of expression 'a++' should 2 \r\n**Actual**\r\n1.The value of expression 'a++' increased with click \"+\" \r\n\r\n[log7.txt](https://github.com/Microsoft/vscode-cpptools/files/2472641/log7.txt)\r\n\r\n"}}
{"actor":{"display_login":"LynnZhang01"}}