Skip to content
Achilleas Kiritsakas edited this page Oct 25, 2019 · 2 revisions

Javascript REPL extension does not send any analytics data about the users or the kind of use that they are doing. So, it is difficult to monitor errors that have happened during their repl sessions. For this reason, the extension tries to collect errors that have happened during their session. It depends on users if they want to report these issues and add this data or part of this data to the reported issue.

At this early stage, it is sure that bugs will be revealed. So if an error occurs during your session window information like the following will be shown. You can ignore it, or open the log for your session who looks like the following example

{
  "logs": [
    {
      "platform": "darwin"
    },
    {
      "jsdom": {
        "installed": true,
        "enabled": false
      }
    },
    {
      "type": "init",
      "args": {
        "filePath": "...path",
        "filename": "index.js",
        "relativeDir": "...path",
        "id": "vs.editor.ICodeEditor:1,$model1",
        "replId": "id",
        "version": "1.39.2",
        "fileExtension": ".js",
        "rootDir": "...path",
        "useWorkers": false,
        "coverage": true,
        "context": "VM",
        "included": [
          "index.js"
        ],
        "dirty": [],
        "outRootDir": "...path",
        "outDir": "...path",
        "logsDir": "...path",
        "extensionDir": "...path",
        "guttersDir": "...path",
        "doc": {
          "line": 0,
          "idx": 0
        }
      }
    },
    {
      "type": "uncaughtException",
      "error": {
        "message": "yyyy is not defined",
        "stack": "ReferenceError: yyyy is not defined\n    at Timeout.setTimeout [as _onTimeout] (...path:960:15)\n    at ontimeout (timers.js:436:11)\n    at tryOnTimeout (timers.js:300:5)\n    at listOnTimeout (timers.js:263:5)\n    at Timer.processTimers (timers.js:223:10)",
        "name": "ReferenceError"
      }
    },

It will be very helpful, if you report an issue about a problem that you had during your repl sessions, and is really appreciated, if you provide any feedback about the extension user experience ♡

Clone this wiki locally