{"action":"created","issue":{"url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/446","labels_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/446/comments","events_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/446/events","html_url":"https://github.com/pkulchenko/ZeroBraneStudio/issues/446","id":70803480,"number":446,"title":"Cannot display \"_G.package.loaded\" value","user":{"login":"madmaxoft","id":4388386,"avatar_url":"https://avatars.githubusercontent.com/u/4388386?v=3","gravatar_id":"","url":"https://api.github.com/users/madmaxoft","html_url":"https://github.com/madmaxoft","followers_url":"https://api.github.com/users/madmaxoft/followers","following_url":"https://api.github.com/users/madmaxoft/following{/other_user}","gists_url":"https://api.github.com/users/madmaxoft/gists{/gist_id}","starred_url":"https://api.github.com/users/madmaxoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmaxoft/subscriptions","organizations_url":"https://api.github.com/users/madmaxoft/orgs","repos_url":"https://api.github.com/users/madmaxoft/repos","events_url":"https://api.github.com/users/madmaxoft/events{/privacy}","received_events_url":"https://api.github.com/users/madmaxoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pkulchenko","id":77071,"avatar_url":"https://avatars.githubusercontent.com/u/77071?v=3","gravatar_id":"","url":"https://api.github.com/users/pkulchenko","html_url":"https://github.com/pkulchenko","followers_url":"https://api.github.com/users/pkulchenko/followers","following_url":"https://api.github.com/users/pkulchenko/following{/other_user}","gists_url":"https://api.github.com/users/pkulchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/pkulchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkulchenko/subscriptions","organizations_url":"https://api.github.com/users/pkulchenko/orgs","repos_url":"https://api.github.com/users/pkulchenko/repos","events_url":"https://api.github.com/users/pkulchenko/events{/privacy}","received_events_url":"https://api.github.com/users/pkulchenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-04-24T21:50:42Z","updated_at":"2015-05-07T07:06:19Z","closed_at":null,"body":"When I run my script in the MCServer interpreter ( https://github.com/mc-server/MCServer ) and it hits a breakpoint, there's no way to view the value of `package` or `package.loaded`. Instead of the expected table, the watch window shows this text:\r\n```\r\n\"...PathFragment\\\\\\ZeroBraneStudio\\\\lualibs/mobdebug/mobdebug.lua:178: invalid type in array indexing.\\n     value is 'string'; 'number' expected.\\n\"\r\n```\r\nThe same happens when trying to print the value in the Remote console window using `=package.loaded` command.\r\nWhen running a script in the regular Lua interpreter, the value is displayed correctly, so this issue does depend on the interpreter.\r\n\r\nRunning ZBS commit e24ee26ed352ed196073a59198e22e4ee4d9f6d7 on Windows 7 64-bit, although I remember seeing this issue earlier, perhaps a month or two back, so it's nothing new, I just didn't need it that much so I didn't report it."},"comment":{"url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/comments/99750747","html_url":"https://github.com/pkulchenko/ZeroBraneStudio/issues/446#issuecomment-99750747","issue_url":"https://api.github.com/repos/pkulchenko/ZeroBraneStudio/issues/446","id":99750747,"user":{"login":"madmaxoft","id":4388386,"avatar_url":"https://avatars.githubusercontent.com/u/4388386?v=3","gravatar_id":"","url":"https://api.github.com/users/madmaxoft","html_url":"https://github.com/madmaxoft","followers_url":"https://api.github.com/users/madmaxoft/followers","following_url":"https://api.github.com/users/madmaxoft/following{/other_user}","gists_url":"https://api.github.com/users/madmaxoft/gists{/gist_id}","starred_url":"https://api.github.com/users/madmaxoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmaxoft/subscriptions","organizations_url":"https://api.github.com/users/madmaxoft/orgs","repos_url":"https://api.github.com/users/madmaxoft/repos","events_url":"https://api.github.com/users/madmaxoft/events{/privacy}","received_events_url":"https://api.github.com/users/madmaxoft/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T07:06:19Z","updated_at":"2015-05-07T07:06:19Z","body":"Yes, that fixes the issue for me, too."}}