{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/vscode/issues/76929","repository_url":"https://api.github.com/repos/microsoft/vscode","labels_url":"https://api.github.com/repos/microsoft/vscode/issues/76929/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/vscode/issues/76929/comments","events_url":"https://api.github.com/repos/microsoft/vscode/issues/76929/events","html_url":"https://github.com/microsoft/vscode/issues/76929","id":465575725,"node_id":"MDU6SXNzdWU0NjU1NzU3MjU=","number":76929,"title":"c++ file open problem","user":{"login":"guleryuz","id":12644412,"node_id":"MDQ6VXNlcjEyNjQ0NDEy","avatar_url":"https://avatars1.githubusercontent.com/u/12644412?v=4","gravatar_id":"","url":"https://api.github.com/users/guleryuz","html_url":"https://github.com/guleryuz","followers_url":"https://api.github.com/users/guleryuz/followers","following_url":"https://api.github.com/users/guleryuz/following{/other_user}","gists_url":"https://api.github.com/users/guleryuz/gists{/gist_id}","starred_url":"https://api.github.com/users/guleryuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guleryuz/subscriptions","organizations_url":"https://api.github.com/users/guleryuz/orgs","repos_url":"https://api.github.com/users/guleryuz/repos","events_url":"https://api.github.com/users/guleryuz/events{/privacy}","received_events_url":"https://api.github.com/users/guleryuz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-09T05:25:39Z","updated_at":"2019-07-09T05:30:14Z","closed_at":null,"author_association":"NONE","body":"\r\nIssue Type: <b>Bug</b>\r\n\r\nviusal studio code freezes when trying o open this c++ file. no c++ extension installed.\r\nos: ubuntu\r\n\r\nVS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:20:56.241Z)\r\nOS version: Linux x64 4.15.0-54-generic\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 4062)|\r\n|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: disabled_software<br>oop_rasterization: disabled_off<br>protected_video_decode: unavailable_off<br>rasterization: disabled_software<br>skia_deferred_display_list: disabled_off<br>skia_renderer: disabled_off<br>surface_synchronization: enabled_on<br>video_decode: unavailable_off<br>viz_display_compositor: disabled_off<br>webgl: enabled<br>webgl2: enabled|\r\n|Load (avg)|1, 1, 0|\r\n|Memory (System)|7.52GB (3.29GB free)|\r\n|Process Argv|--unity-launch|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n</details><details><summary>Extensions (20)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\nprettier-vscode|esb|1.9.0\r\nmacros|ged|1.2.1\r\nprettify-json|moh|0.0.3\r\nvscode-language-pack-tr|MS-|1.36.2\r\nmssql|ms-|1.6.0\r\npython|ms-|2019.6.22090\r\nnapamacro-debug|nap|1.0.6\r\nvscode-boot-dev-pack|Piv|0.0.8\r\nvscode-concourse|Piv|1.8.1\r\nvscode-manifest-yaml|Piv|1.8.1\r\nvscode-spring-boot|Piv|1.8.1\r\njava|red|0.46.0\r\nvscodeintellicode|Vis|1.1.7\r\nvscode-java-debug|vsc|0.20.0\r\nvscode-java-dependency|vsc|0.5.1\r\nvscode-java-pack|vsc|0.7.1\r\nvscode-java-test|vsc|0.18.1\r\nvscode-maven|vsc|0.18.0\r\nvscode-spring-boot-dashboard|vsc|0.1.5\r\nvscode-spring-initializr|vsc|0.4.5\r\n\r\n\r\n</details>\r\n<!-- generated by issue reporter -->"},"comment":{"url":"https://api.github.com/repos/microsoft/vscode/issues/comments/509494281","html_url":"https://github.com/microsoft/vscode/issues/76929#issuecomment-509494281","issue_url":"https://api.github.com/repos/microsoft/vscode/issues/76929","id":509494281,"node_id":"MDEyOklzc3VlQ29tbWVudDUwOTQ5NDI4MQ==","user":{"login":"guleryuz","id":12644412,"node_id":"MDQ6VXNlcjEyNjQ0NDEy","avatar_url":"https://avatars1.githubusercontent.com/u/12644412?v=4","gravatar_id":"","url":"https://api.github.com/users/guleryuz","html_url":"https://github.com/guleryuz","followers_url":"https://api.github.com/users/guleryuz/followers","following_url":"https://api.github.com/users/guleryuz/following{/other_user}","gists_url":"https://api.github.com/users/guleryuz/gists{/gist_id}","starred_url":"https://api.github.com/users/guleryuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guleryuz/subscriptions","organizations_url":"https://api.github.com/users/guleryuz/orgs","repos_url":"https://api.github.com/users/guleryuz/repos","events_url":"https://api.github.com/users/guleryuz/events{/privacy}","received_events_url":"https://api.github.com/users/guleryuz/received_events","type":"User","site_admin":false},"created_at":"2019-07-09T05:30:14Z","updated_at":"2019-07-09T05:30:14Z","author_association":"NONE","body":"`/* This is part of the netCDF package.\r\n   Copyright 2006 University Corporation for Atmospheric Research/Unidata.\r\n   See COPYRIGHT file for conditions of use.\r\n\r\n   This is a very simple example which reads a 2D array of\r\n   sample data produced by simple_xy_wr.cpp.\r\n\r\n   This example is part of the netCDF tutorial:\r\n   http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial\r\n\r\n   Full documentation of the netCDF C++ API can be found at:\r\n   http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-cxx\r\n\r\n   $Id: simple_xy_rd.cpp,v 1.5 2010/02/11 22:36:43 russ Exp $\r\n*/\r\n\r\n#include <iostream>\r\n#include <netcdf>\r\nusing namespace std;\r\nusing namespace netCDF;\r\nusing namespace netCDF::exceptions;\r\n\r\n// We are reading 2D data, a 6 x 12 grid.\r\nstatic const int NX = 6;\r\nstatic const int NY = 12;\r\n\r\n// Return this in event of a problem.\r\nstatic const int NC_ERR = 2;\r\n\r\nint main()\r\n{\r\n    try\r\n    {\r\n        // This is the array we will read.\r\n        int dataIn[NX][NY];\r\n\r\n        // Open the file for read access\r\n        NcFile dataFile(\"simple_xy.nc\", NcFile::read);\r\n\r\n        // Retrieve the variable named \"data\"\r\n        NcVar data=dataFile.getVar(\"data\");\r\n        if(data.isNull()) return NC_ERR;\r\n        data.getVar(dataIn);\r\n\r\n        // Check the values.\r\n        for (int i = 0; i < NX; i++)\r\n            for (int j = 0; j < NY; j++)\r\n                if (dataIn[i][j] != i * NY + j)\r\n                    return NC_ERR;\r\n\r\n        // The netCDF file is automatically closed by the NcFile destructor\r\n        cout << \"*** SUCCESS reading example file simple_xy.nc!\" << endl;\r\n\r\n        return 0;\r\n    }catch(NcException& e)\r\n    {\r\n        e.what();\r\n        cout<<\"FAILURE*************************************\"<<endl;\r\n        return NC_ERR;\r\n    }\r\n}`"}}
{"actor":{"display_login":"guleryuz"}}