{"action":"created","issue":{"url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/75","repository_url":"https://api.github.com/repos/vadimcn/vscode-lldb","labels_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/75/comments","events_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/75/events","html_url":"https://github.com/vadimcn/vscode-lldb/issues/75","id":273834151,"number":75,"title":"Errors invoking VSCode from external application when debugging through LLDB","user":{"login":"GSThornton","id":7194846,"avatar_url":"https://avatars2.githubusercontent.com/u/7194846?v=4","gravatar_id":"","url":"https://api.github.com/users/GSThornton","html_url":"https://github.com/GSThornton","followers_url":"https://api.github.com/users/GSThornton/followers","following_url":"https://api.github.com/users/GSThornton/following{/other_user}","gists_url":"https://api.github.com/users/GSThornton/gists{/gist_id}","starred_url":"https://api.github.com/users/GSThornton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSThornton/subscriptions","organizations_url":"https://api.github.com/users/GSThornton/orgs","repos_url":"https://api.github.com/users/GSThornton/repos","events_url":"https://api.github.com/users/GSThornton/events{/privacy}","received_events_url":"https://api.github.com/users/GSThornton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-14T15:30:27Z","updated_at":"2017-11-14T15:31:12Z","closed_at":null,"author_association":"NONE","body":"Which OS: Mac OSX Sierra 10.12.6\r\nWhich LLDB version (lldb -version): 0.7.1\r\nWhich VSCode version (Help/About): 1.18.0\r\n\r\nWhat is the problem and how did you get there:\r\n\r\nI'm working on the integration of VSCode with Unreal Engine, specifically our source code navigation systems. I've found a problem where I have build and run the editor through VSCode, but then subsequent attempts to open a class from the editor, or navigate to a particular file/line will fail with an error message in VSCode like this:\r\n\r\n```\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/Users/graemethornton/Epic Games/UE4'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.runMain (module.js:605:10)\r\n    at run (bootstrap_node.js:431:7)\r\n    at startup (bootstrap_node.js:155:9)\r\n    at bootstrap_node.js:551:3\r\n```\r\nNote that in this case, the arguments to VSCode that I passed on the command line were these:\r\n\r\n```\r\n\"/Users/graemethornton/Epic Games/UE4/\" \"/Users/graemethornton/Epic Games/UE4/EngineTest/Source/EngineTest/EngineTestUtilityLibrary.h\" \"/Users/graemethornton/Epic Games/UE4/EngineTest/Source/EngineTest/EngineTestUtilityLibrary.cpp\"\r\n```\r\nThis only happens when I'm running the editor as a debug session from within VSCode. If I just launch the editor from the OS and then do exactly the same thing, it all works correctly.\r\n\r\nI originally reported this to Microsoft in this issue:\r\n\r\nhttps://github.com/Microsoft/vscode/issues/37944\r\n\r\nThey suggested it was an issue with the debugger extension rather than VSCode itself.\r\n\r\nThanks for your help,\r\n\r\nGraeme"},"comment":{"url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/comments/344295618","html_url":"https://github.com/vadimcn/vscode-lldb/issues/75#issuecomment-344295618","issue_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/75","id":344295618,"user":{"login":"GSThornton","id":7194846,"avatar_url":"https://avatars2.githubusercontent.com/u/7194846?v=4","gravatar_id":"","url":"https://api.github.com/users/GSThornton","html_url":"https://github.com/GSThornton","followers_url":"https://api.github.com/users/GSThornton/followers","following_url":"https://api.github.com/users/GSThornton/following{/other_user}","gists_url":"https://api.github.com/users/GSThornton/gists{/gist_id}","starred_url":"https://api.github.com/users/GSThornton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSThornton/subscriptions","organizations_url":"https://api.github.com/users/GSThornton/orgs","repos_url":"https://api.github.com/users/GSThornton/repos","events_url":"https://api.github.com/users/GSThornton/events{/privacy}","received_events_url":"https://api.github.com/users/GSThornton/received_events","type":"User","site_admin":false},"created_at":"2017-11-14T15:31:12Z","updated_at":"2017-11-14T15:31:12Z","author_association":"NONE","body":"Also, I tried switching back to the MS C/C++ debugger plugin and confirmed that the problem did not occcur there!"}}
{"actor":{"display_login":"GSThornton"}}