processing / processing/p5.js-web-editor

Console doesn't print current variable content for Object types (bug in `console-feed`)

Open
#1,203 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help Wanted Priority:Medium
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Nature of issue?
  • Found a bug
Details about the bug:
  • Web browser and version:

Google Chrome | 77.0.3865.120 (Offizieller Build) (64-Bit) (cohort: Stable)

  • Operating System:
    Windows
  • Steps to reproduce this bug:
    Run the Programm and load ergebnisse.txt

copy:
Otto, 345
Klaus, 23454
Leonie, 234
to ergebnisse.txt file
Run: https://editor.p5js.org/ZIM/sketches/6NUFu7ELU
Load ergebnisse.txt

Open Chrome developer Console.
Chrome developer Console shows different Values (the right ones) of an Arrays compared to p5js Web Editor Console. (Compare 9th and 10th line of output of p5js
P5JSConsoleShowsWrongArrayContent
web editor Console)

Feature enhancement details:
New feature details:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the discrepancy in the linked p5.js sketch using the provided ergebnisse.txt data, then compare the p5.js Web Editor Console with Chrome's developer Console. Investigate the console-feed behavior for arrays or Object types. Done means the editor displays the current variable contents consistently with Chrome for this example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.