{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-devtools/issues/399","repository_url":"https://api.github.com/repos/facebook/react-devtools","labels_url":"https://api.github.com/repos/facebook/react-devtools/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-devtools/issues/399/comments","events_url":"https://api.github.com/repos/facebook/react-devtools/issues/399/events","html_url":"https://github.com/facebook/react-devtools/issues/399","id":164958334,"number":399,"title":"[React Native] Sometimes DevTools will interrupt debugger websocket","user":{"login":"jhen0409","id":3001525,"avatar_url":"https://avatars.githubusercontent.com/u/3001525?v=3","gravatar_id":"","url":"https://api.github.com/users/jhen0409","html_url":"https://github.com/jhen0409","followers_url":"https://api.github.com/users/jhen0409/followers","following_url":"https://api.github.com/users/jhen0409/following{/other_user}","gists_url":"https://api.github.com/users/jhen0409/gists{/gist_id}","starred_url":"https://api.github.com/users/jhen0409/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhen0409/subscriptions","organizations_url":"https://api.github.com/users/jhen0409/orgs","repos_url":"https://api.github.com/users/jhen0409/repos","events_url":"https://api.github.com/users/jhen0409/events{/privacy}","received_events_url":"https://api.github.com/users/jhen0409/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-11T22:57:53Z","updated_at":"2016-07-12T12:58:38Z","closed_at":"2016-07-12T12:58:38Z","body":"It seems [this line](https://github.com/facebook/react-devtools/blob/master/shells/electron/src/ui.js#L85) will sends too many messages, mostly `hideHighlight` event. (I try to quickly move the cursor between nodes)\r\n\r\nAlthough I don't think this will affect the debugger connection, but it really happened if DevTools send too many messages:\r\n\r\n![2016-07-12 6 34 33](https://cloud.githubusercontent.com/assets/3001525/16749250/703a705a-47fb-11e6-8a03-af0fb0bcef9f.png)\r\n\r\nIt's can be reproduce on RN Inspector for Nuclide and Electron build. I tested a lot of times. 😂\r\n\r\nAlso, sometimes I can get the error on React Native local server:\r\n\r\n```\r\nERROR  out of range index\r\nRangeError: out of range index\r\n    at RangeError (native)\r\n    at fastCopy (/path/to/project/node_modules/ws/lib/Receiver.js:386:24)\r\n    at Receiver.add (/path/to/project/node_modules/ws/lib/Receiver.js:86:3)\r\n    at Socket.realHandler (/path/to/project/node_modules/ws/lib/WebSocket.js:800:20)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at readableAddChunk (_stream_readable.js:177:18)\r\n    at Socket.Readable.push (_stream_readable.js:135:10)\r\n    at TCP.onread (net.js:542:20)\r\n```"}}
{"actor":{"display_login":"jhen0409"}}