{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/6904","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/6904/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/6904/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/6904/events","html_url":"https://github.com/flutter/flutter/issues/6904","id":190143875,"number":6904,"title":"Disable the Dart profiler by default and allow enabling it via a flag to the engine.","user":{"login":"chinmaygarde","id":44085,"avatar_url":"https://avatars.githubusercontent.com/u/44085?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaygarde","html_url":"https://github.com/chinmaygarde","followers_url":"https://api.github.com/users/chinmaygarde/followers","following_url":"https://api.github.com/users/chinmaygarde/following{/other_user}","gists_url":"https://api.github.com/users/chinmaygarde/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaygarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaygarde/subscriptions","organizations_url":"https://api.github.com/users/chinmaygarde/orgs","repos_url":"https://api.github.com/users/chinmaygarde/repos","events_url":"https://api.github.com/users/chinmaygarde/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaygarde/received_events","type":"User","site_admin":false},"labels":[{"id":283478978,"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20dev%20experience","name":"affects: dev experience","color":"009800","default":false},{"id":284438921,"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20engine","name":"affects: engine","color":"003570","default":false}],"state":"open","locked":false,"assignee":{"login":"chinmaygarde","id":44085,"avatar_url":"https://avatars.githubusercontent.com/u/44085?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaygarde","html_url":"https://github.com/chinmaygarde","followers_url":"https://api.github.com/users/chinmaygarde/followers","following_url":"https://api.github.com/users/chinmaygarde/following{/other_user}","gists_url":"https://api.github.com/users/chinmaygarde/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaygarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaygarde/subscriptions","organizations_url":"https://api.github.com/users/chinmaygarde/orgs","repos_url":"https://api.github.com/users/chinmaygarde/repos","events_url":"https://api.github.com/users/chinmaygarde/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaygarde/received_events","type":"User","site_admin":false},"assignees":[{"login":"chinmaygarde","id":44085,"avatar_url":"https://avatars.githubusercontent.com/u/44085?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaygarde","html_url":"https://github.com/chinmaygarde","followers_url":"https://api.github.com/users/chinmaygarde/followers","following_url":"https://api.github.com/users/chinmaygarde/following{/other_user}","gists_url":"https://api.github.com/users/chinmaygarde/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaygarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaygarde/subscriptions","organizations_url":"https://api.github.com/users/chinmaygarde/orgs","repos_url":"https://api.github.com/users/chinmaygarde/repos","events_url":"https://api.github.com/users/chinmaygarde/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaygarde/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-17T19:42:16Z","updated_at":"2016-11-17T23:42:48Z","closed_at":null,"body":"Currently, the Dart profiler is disabled on all platforms where LLDB is the default debugger. This is because the signals generated during profiling cause LLDB to be overwhelmed and make the application unresponsive while it is being debugger, and in rare cases, cause the Xcode IDE to crash.\r\n\r\nUsers are encouraged to launch the application once from Xcode to make sure their code signing and entitlements are correctly setup. Xcode launched the application with LLDB attached. So enabling the profiler by default and expecting the tools to never connect via LLDB (which they don't)  will lead to a poor experience on first launch for the user.\r\n\r\nPossible solutions:\r\n* Disable the profiler on all platforms. Allow it to be enabled via a flag (tentatively `--enable-dart-profiler`). The tools must then pass in the flag explicitly when they launch the application (when they can be sure no native debugger is attached).\r\n* Always enable the profiler on all platforms. Except, detect the case in the engine when a debugger is attached and disable the profiler at runtime.\r\n* Fix the issue in LLDB. I have investigated this a lot but am no closer to a fix.\r\n\r\nI think the first one is easy to get done.\r\n\r\ncc @johnmccutchan "},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/261405667","html_url":"https://github.com/flutter/flutter/issues/6904#issuecomment-261405667","issue_url":"https://api.github.com/repos/flutter/flutter/issues/6904","id":261405667,"user":{"login":"Hixie","id":551196,"avatar_url":"https://avatars.githubusercontent.com/u/551196?v=3","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T23:42:48Z","updated_at":"2016-11-17T23:42:48Z","body":"This does affect Android too, though, right?"}}
{"actor":{"display_login":"Hixie"}}