{"action":"created","issue":{"url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/107","repository_url":"https://api.github.com/repos/vadimcn/vscode-lldb","labels_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/107/comments","events_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/107/events","html_url":"https://github.com/vadimcn/vscode-lldb/issues/107","id":319928046,"number":107,"title":"Cannot Inspect Variables","user":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars2.githubusercontent.com/u/335572?v=4","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-03T13:47:18Z","updated_at":"2018-05-03T19:38:55Z","closed_at":null,"author_association":"NONE","body":"Which OS: Fedora 28\r\nWhich extension version: 0.8.6\r\nWhich LLDB version:\r\n```\r\nlldb version 5.0.0 (https://github.com/apple/swift-lldb.git revision 19b67d14444d5c2f4b1a614b799bb1d87c1776e0)\r\n  Swift-4.2 (revision f4903a04a5fbaa20b37972d7d96f788e3aff86d0)\r\n  clang revision 041fd44ebe859908dd634cc0066a4cb6c34e4a5e\r\n  llvm revision 85dee3a104d9ebc68ece691d076b0f9c5f225730\r\n```\r\nWhich VSCode version:  1.22.2\r\n\r\n## Workspace Settings\r\n\r\n```json\r\n{\r\n    \"lldb.executable_env\": {\r\n        \"PATH\": \"/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/lldb-linux-x86_64/bin:${env:PATH}\"\r\n    },\r\n    \"lldb.executable\": \"/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/lldb-linux-x86_64/bin/lldb\"\r\n}\r\n```\r\n\r\n## Launch Settings\r\n\r\n```json\r\n{\r\n    \"version\": \"0.2.0\",\r\n    \"configurations\": [\r\n        {\r\n            \"type\": \"lldb\",\r\n            \"request\": \"launch\",\r\n            \"name\": \"Launch\",\r\n            \"program\": \"/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/foundation-linux-x86_64/TestFoundation/TestFoundation\",\r\n            \"args\": [],\r\n            \"cwd\": \"${workspaceFolder}\",\r\n            \"env\": {\r\n                \"LD_LIBRARY_PATH\": \"/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/foundation-linux-x86_64/Foundation/:/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/xctest-linux-x86_64:/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/libdispatch-linux-x86_64/src/.libs\"\r\n            }\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n# What is the problem and how did you get there:\r\n\r\nI cannot inspect values in the variables/watch area in VS Code or by typing in `po <variable>` in the debug console.\r\n\r\nI know that if I launch `lldb` from a command line I can inspect the values. That is, doing this from a terminal works:\r\n\r\n```bash\r\nLD_LIBRARY_PATH=/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/foundation-linux-x86_64/Foundation/:/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/xctest-linux-x86_64:/home/rlovelett/Source/swift-source/build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/libdispatch-linux-x86_64/src/.libs: ../build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/foundation-linux-x86_64/../lldb-linux-x86_64/bin/lldb ../build/Ninja+cmark-DebugAssert+llvm-RelWithDebInfoAssert+swift-DebugAssert+stdlib-DebugAssert/foundation-linux-x86_64/TestFoundation/TestFoundation\r\n```\r\n\r\n# What did you expect to have happened instead:\r\n\r\nI expected to be able to inspect local variable values in either the VS Code watch area or variables area. If not there by executing specific `lldb` commands like `po` in the debug console."},"comment":{"url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/comments/386412287","html_url":"https://github.com/vadimcn/vscode-lldb/issues/107#issuecomment-386412287","issue_url":"https://api.github.com/repos/vadimcn/vscode-lldb/issues/107","id":386412287,"user":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars2.githubusercontent.com/u/335572?v=4","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T19:38:55Z","updated_at":"2018-05-03T19:38:55Z","author_association":"NONE","body":"I will start playing around with this.\r\n\r\n**Off-Topic:** Just out of curiosity does the `${env:PATH}` do anything? [The reason why I ask is I always assumed this was not possible in VSCode](https://github.com/Microsoft/vscode/issues/2809)."}}
{"actor":{"display_login":"RLovelett"}}