{"action":"created","issue":{"url":"https://api.github.com/repos/runrev/livecode-ide/issues/420","labels_url":"https://api.github.com/repos/runrev/livecode-ide/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/runrev/livecode-ide/issues/420/comments","events_url":"https://api.github.com/repos/runrev/livecode-ide/issues/420/events","html_url":"https://github.com/runrev/livecode-ide/pull/420","id":100740516,"number":420,"title":"revdebuggerlibrary: More aggressively filter problematic var names","user":{"login":"peter-b","id":47528,"avatar_url":"https://avatars.githubusercontent.com/u/47528?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-b","html_url":"https://github.com/peter-b","followers_url":"https://api.github.com/users/peter-b/followers","following_url":"https://api.github.com/users/peter-b/following{/other_user}","gists_url":"https://api.github.com/users/peter-b/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-b/subscriptions","organizations_url":"https://api.github.com/users/peter-b/orgs","repos_url":"https://api.github.com/users/peter-b/repos","events_url":"https://api.github.com/users/peter-b/events{/privacy}","received_events_url":"https://api.github.com/users/peter-b/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/runrev/livecode-ide/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T11:03:27Z","updated_at":"2015-08-13T11:08:41Z","closed_at":"2015-08-13T11:08:41Z","pull_request":{"url":"https://api.github.com/repos/runrev/livecode-ide/pulls/420","html_url":"https://github.com/runrev/livecode-ide/pull/420","diff_url":"https://github.com/runrev/livecode-ide/pull/420.diff","patch_url":"https://github.com/runrev/livecode-ide/pull/420.patch"},"body":"On Linux systems, environment variables are just nul-terminated\r\nstrings, and only by convention have the format `name=value`.  This\r\nmeans that variable names obtained from the environment (i.e. global\r\n`$name` variables) may contain special characters, especially `(` and\r\n`)`.  When environment variable names with special characters are\r\nencountered, it causes subtle debugger breakage which usually\r\nmanifests itself as \"the message box doesn't work\".\r\n\r\n@runrevmark originally suggested fixing this problem by filtering out\r\n*all* variables beginning with `$` at this step.  However, that seemed\r\nlike a bit of a blunt instrument, since it may actually be useful to\r\nexamine environment variables that might be affecting the behaviour of\r\nthe program -- and it's hard to do that in the absence of a `the\r\nenvironmentVariables` syntax or equivalent (analogous to the\r\nrecently-added `the commandArguments` syntax)."},"comment":{"url":"https://api.github.com/repos/runrev/livecode-ide/issues/comments/130619727","html_url":"https://github.com/runrev/livecode-ide/pull/420#issuecomment-130619727","issue_url":"https://api.github.com/repos/runrev/livecode-ide/issues/420","id":130619727,"user":{"login":"peter-b","id":47528,"avatar_url":"https://avatars.githubusercontent.com/u/47528?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-b","html_url":"https://github.com/peter-b","followers_url":"https://api.github.com/users/peter-b/followers","following_url":"https://api.github.com/users/peter-b/following{/other_user}","gists_url":"https://api.github.com/users/peter-b/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-b/subscriptions","organizations_url":"https://api.github.com/users/peter-b/orgs","repos_url":"https://api.github.com/users/peter-b/repos","events_url":"https://api.github.com/users/peter-b/events{/privacy}","received_events_url":"https://api.github.com/users/peter-b/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T11:08:41Z","updated_at":"2015-08-13T11:08:41Z","body":"Resubmitting against develop-6.7."}}