developer-tools

Google Page Speed insights. Lighthouse measurement origin

隐身守侯 提交于 2019-12-03 18:18:09
问题 Google provides Speed index for given URL by doing a lighthouse measurement: https://developers.google.com/speed/pagespeed/insights The data differs a lot from my own measurement. Now my guess is for the mobile page test they use some 4G emulation on a machine located in the US while my testet webserver is located in europe. Any idea where to find information on the geo location they perform testing from ? 回答1: Lighthouse uses 'a slow 4G connection'. This choice influences the importance of

How to enable “Preserve Log” in Network tab in Chrome developer tools by default?

我怕爱的太早我们不能终老 提交于 2019-12-03 06:11:55
问题 How to enable "Preserve Log" in Network tools in Chrome developer tools by default? Everytime I press F12 and then select Network tab, I need to click preserve log checkbox to make it preserve request/responses. Is it possible to have it checked all the time by default? By the way this feature works in "Firefox Developer" edition. When I click "Persist Logs" and close and then open the browser & DEV tools window again, it is still checked. UPDATE - 6th March 2019 This will be fixed in Chrome

IE 11 Developer Tools Issue - Exception in window.onload

你离开我真会死。 提交于 2019-12-03 05:30:23
问题 I installed Internet Explorer 11 on my Windows 7 machine and it's not building the DOM in DOM Explorer. Does any one know about this issue? I tried to uninstall and re-install IE many times, but the problem still persists. The DOM Explorer tabs shows error shown in image - 回答1: This security update fixed it for me and others involved: http://www.microsoft.com/en-us/download/confirmation.aspx?id=44431 Make sure you install the correct version of the security update. There is a different

What do the “Not optimized” warnings in the Chrome Profiler mean?

[亡魂溺海] 提交于 2019-12-03 01:48:46
问题 When I use the Developer Tools in Chrome to collect JavaScript CPU Profiles, I am getting two mysterious warnings on functions: Not optimized: optimized too many times Not optimized: inlining bailed out What do these actually mean? and what are some possible solutions? Another one I've seen is Not optimized: TryCatchStatement , but that makes sense. Solution is to remove the try-catch. The closest attempt at an explanation I've found so far was this - https://github.com/GoogleChrome/devtools

How can I override/extend ReferenceError in Chrome's JavaScript?

流过昼夜 提交于 2019-12-02 23:10:07
To make debugging easier, I'm capturing all of the console logs in Chrome so that users who submit a feedback entry will also submit all of the logs to our server. When someone encounters a problem in production, I can first and foremost get them back to work so that I can then sit down and more thoroughly go through all of the logs to determine the root cause of whatever issue the user encountered in production. The technique I use to capture the logs involves overriding console.log so that all text entered in the first argument gets stored in an array while simultaneously invoking the legacy

IE 11 Developer Tools Issue - Exception in window.onload

走远了吗. 提交于 2019-12-02 19:56:43
I installed Internet Explorer 11 on my Windows 7 machine and it's not building the DOM in DOM Explorer. Does any one know about this issue? I tried to uninstall and re-install IE many times, but the problem still persists. The DOM Explorer tabs shows error shown in image - Smita More This security update fixed it for me and others involved : http://www.microsoft.com/en-us/download/confirmation.aspx?id=44431 Make sure you install the correct version of the security update. There is a different version for x86 installs of Windows 7, too. Gavin I have Windows 7 (x86: 32 bit) and the top answer

How to enable “Preserve Log” in Network tab in Chrome developer tools by default?

☆樱花仙子☆ 提交于 2019-12-02 18:42:44
How to enable "Preserve Log" in Network tools in Chrome developer tools by default? Everytime I press F12 and then select Network tab, I need to click preserve log checkbox to make it preserve request/responses. Is it possible to have it checked all the time by default? By the way this feature works in "Firefox Developer" edition. When I click "Persist Logs" and close and then open the browser & DEV tools window again, it is still checked. UPDATE - 6th March 2019 This will be fixed in Chrome 73. But if you want to try it before that then install Chrome Canary . It's working there. To enable

What do the “Not optimized” warnings in the Chrome Profiler mean?

ε祈祈猫儿з 提交于 2019-12-02 15:21:57
When I use the Developer Tools in Chrome to collect JavaScript CPU Profiles, I am getting two mysterious warnings on functions: Not optimized: optimized too many times Not optimized: inlining bailed out What do these actually mean? and what are some possible solutions? Another one I've seen is Not optimized: TryCatchStatement , but that makes sense. Solution is to remove the try-catch. The closest attempt at an explanation I've found so far was this - https://github.com/GoogleChrome/devtools-docs/issues/53 David I believe that "Not optimized: optimized too many times" refers to when the chrome

Unable to fix signing identity issue on Xcode

泄露秘密 提交于 2019-12-02 14:59:26
I am not new to this but I am unable to fix my signing identity from Xcode Version 6.2 (6C86e). When I click fix issue on the following message: I get a pop up window saying: "The selected team's agent, 'Name Surname' must agree to the latest ios Program License Agreement. Please visit the Member Center. https://developer.apple.com/membercenter " I went on " https://developer.apple.com " and accepted the latest iOS Program agreement. This is what I can see on my legal agreements section: However the message on Xcode keeps popping up.. I tried loggin in and out but it does not show me the legal

Auto record and save chrome developer tools profiling data on page load?

给你一囗甜甜゛ 提交于 2019-12-02 01:14:27
Chrome developer tools has an option to Start/Stop Recording profiling data with respect to Memory,Paint,Screenshots,JS Profile on the Timeline tab. Once I refresh a page the recording begins automatically and stops when the page has loaded. Is there a way to 1)Start this recording in the background automatically without needing to open developer tools in chrome/node-webkit window . Maybe the recording can be enabled via some Chrome API which can be called when the application loads 2)Dump the recorded data into a log file (e.x. a json file) once the recording is over. Any pointers in the