Javascript debug: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 6: Line 6:
* Verify the format of JSON file if the file was used by javascript by using [https://jsonlint.com/ JSONLint - The JSON Validator] tools.
* Verify the format of JSON file if the file was used by javascript by using [https://jsonlint.com/ JSONLint - The JSON Validator] tools.
* Disable the browser extension e.g. switch to '''incognito window''' on {{Chrome}}
* Disable the browser extension e.g. switch to '''incognito window''' on {{Chrome}}
* Clear or disable the browser cache
* Clear or disable the browser cache<ref>[https://www.java.com/zh_TW/download/help/webcache.xml 我要如何清除網頁瀏覽器快取?]</ref>
* Reload the webpage again
* Reload the webpage again
* Switch to different network environment
* Switch to different network environment

Revision as of 15:56, 14 February 2019

<< Testing: Javascript


Steps to troubleshooting

  • Checking the typo or "ensure that there are no compile-time errors"[1] by using JSLint tools.
  • Verify the format of JSON file if the file was used by javascript by using JSONLint - The JSON Validator tools.
  • Disable the browser extension e.g. switch to incognito window on Chrome Browser chrome.png
  • Clear or disable the browser cache[2]
  • Reload the webpage again
  • Switch to different network environment

methods / functions

Print message

DOM

Data type

Browser tool

Browser cache issue

tools


references


Troubleshooting of ...

Template