{"action":"created","issue":{"url":"https://api.github.com/repos/raysilent/lslforge/issues/37","repository_url":"https://api.github.com/repos/raysilent/lslforge","labels_url":"https://api.github.com/repos/raysilent/lslforge/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/raysilent/lslforge/issues/37/comments","events_url":"https://api.github.com/repos/raysilent/lslforge/issues/37/events","html_url":"https://github.com/raysilent/lslforge/issues/37","id":188837371,"number":37,"title":"Cannot Run -> Run as -> Launch in LSL Sim","user":{"login":"Corysia","id":7155180,"avatar_url":"https://avatars.githubusercontent.com/u/7155180?v=3","gravatar_id":"","url":"https://api.github.com/users/Corysia","html_url":"https://github.com/Corysia","followers_url":"https://api.github.com/users/Corysia/followers","following_url":"https://api.github.com/users/Corysia/following{/other_user}","gists_url":"https://api.github.com/users/Corysia/gists{/gist_id}","starred_url":"https://api.github.com/users/Corysia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corysia/subscriptions","organizations_url":"https://api.github.com/users/Corysia/orgs","repos_url":"https://api.github.com/users/Corysia/repos","events_url":"https://api.github.com/users/Corysia/events{/privacy}","received_events_url":"https://api.github.com/users/Corysia/received_events","type":"User","site_admin":false},"labels":[{"id":251471329,"url":"https://api.github.com/repos/raysilent/lslforge/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/raysilent/lslforge/milestones/3","html_url":"https://github.com/raysilent/lslforge/milestones/0.1.9.1","labels_url":"https://api.github.com/repos/raysilent/lslforge/milestones/3/labels","id":2131425,"number":3,"title":"0.1.9.1","description":null,"creator":{"login":"raysilent","id":1284680,"avatar_url":"https://avatars.githubusercontent.com/u/1284680?v=3","gravatar_id":"","url":"https://api.github.com/users/raysilent","html_url":"https://github.com/raysilent","followers_url":"https://api.github.com/users/raysilent/followers","following_url":"https://api.github.com/users/raysilent/following{/other_user}","gists_url":"https://api.github.com/users/raysilent/gists{/gist_id}","starred_url":"https://api.github.com/users/raysilent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysilent/subscriptions","organizations_url":"https://api.github.com/users/raysilent/orgs","repos_url":"https://api.github.com/users/raysilent/repos","events_url":"https://api.github.com/users/raysilent/events{/privacy}","received_events_url":"https://api.github.com/users/raysilent/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2016-11-13T02:01:44Z","updated_at":"2016-11-13T02:06:22Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-11-11T19:54:54Z","updated_at":"2016-11-14T01:14:32Z","closed_at":null,"body":"It's possible I'm doing something wrong, but I keep getting an error when trying to run/debug an LSL script.  I'm choosing Run -> Run as -> Launch in LSL Sim\r\n\r\n```\r\nAn internal error occurred during: \"Launching Example\".\r\nCould not initialize class lslforge.debug.LSLSimInteractor$ContinueCommand\r\n```\r\n\r\nThe simple script is:\r\n\r\n> integer foo()\r\n> {\r\n> \treturn 1;\r\n> }\r\n> \r\n> default\r\n> {\r\n> \tstate_entry()\r\n> \t{\r\n>   \t\tllSay(0, \"testing\");\r\n>   \t\tinteger value = foo();\r\n> \t}\r\n> }\r\n"},"comment":{"url":"https://api.github.com/repos/raysilent/lslforge/issues/comments/260227979","html_url":"https://github.com/raysilent/lslforge/issues/37#issuecomment-260227979","issue_url":"https://api.github.com/repos/raysilent/lslforge/issues/37","id":260227979,"user":{"login":"Corysia","id":7155180,"avatar_url":"https://avatars.githubusercontent.com/u/7155180?v=3","gravatar_id":"","url":"https://api.github.com/users/Corysia","html_url":"https://github.com/Corysia","followers_url":"https://api.github.com/users/Corysia/followers","following_url":"https://api.github.com/users/Corysia/following{/other_user}","gists_url":"https://api.github.com/users/Corysia/gists{/gist_id}","starred_url":"https://api.github.com/users/Corysia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corysia/subscriptions","organizations_url":"https://api.github.com/users/Corysia/orgs","repos_url":"https://api.github.com/users/Corysia/repos","events_url":"https://api.github.com/users/Corysia/events{/privacy}","received_events_url":"https://api.github.com/users/Corysia/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T01:14:32Z","updated_at":"2016-11-14T01:14:32Z","body":"@raysilent it looks like 0.1.6 works more like it is supposed to.  I think I've uncovered two separate bugs.  One, the Project support isn't creating the lsl and lslp files (see below) and two, the LSL doesn't want to run.\r\n\r\n**Setup**\r\n1. Install Eclipse Neon -- I chose C++ since I do all my Java work in IntelliJ IDEA\r\n2. In Eclipse, `Help -> Install New Software...` and used the url `https://raw.githubusercontent.com/raysilent/lslforge/0.1.9.1/eclipse/archive/0.1.6` as you suggested.\r\n\r\n**Creating the LSL Project**\r\nIn Eclipse:\r\n1. `File -> New -> Other`\r\n2. Select `LSLForge Project -> Next`\r\n3. Give it a name: `Example`\r\n4. Click `Finish`\r\n\r\n**Create a file for the project**\r\n1. `File -> New LSLForge Script`\r\n2. Select the `Example` directory\r\n3. Enter a name for the script without the suffix.  E.g., `Example`\r\n4. Notice` Example.lsl` and `Example.lslp` are created.  _This does not happen in 0.1.9.1_\r\n\r\nExample.lsl will contain the following boilerplate\r\n`default {\r\n    state_entry() {\r\n        llOwnerSay(\"Hello Scripter\");\r\n    }\r\n}\r\n`\r\n\r\nCreate a Run configuration so you can execute your LSL\r\n1. `Run -> Run Configurations...`\r\n2. Right-click `Run LSL Simulator` and choose `New`\r\n3. Give it a name such as `LSL Emulator`\r\n4. Select `Apply`\r\n5. Select `Run`\r\n\r\nAt this point, your LSL should execute and print out \"Hello Scripter\".  But instead, in both 0.1.9.1 and 0.1.6, I'm getting a Java NPE.  This makes me think this NPE is a Neon thing, so I will have to try with an older version of Eclipse.\r\n\r\nAt this point, I do not have a working version of LSLForge running on a Mac (or any other OS), however a friend of mine does.  I will find out from him what version of Eclipse he is using and try the same steps above against that and let you know if it executes like it should."}}
{"actor":{"display_login":"Corysia"}}