processing / processing/processing4

Need to double click on arrays in VARIABLES window when debugging in IDE

Open
#1,116 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.4.4

Operating system

MacOS 12.7.6

Steps to reproduce this

"1. Just write some code with an Array or any other variable or object that shows collapsed in the variables window when debugging with processing IDE.

  1. Start debugging and go to the variables window.

  2. Click the Array for it to open, the > simbol at the left changes to the open position but do nothing happens.

  3. Click again and the > simbol changes to the "closed" position.

  4. Click again and now everything works as expected."

snippet

// Paste your code below :)

String arrayTest[] = {"1", "2", "3"};

void setup() {
  printArray(arrayTest);
}

// Setup a break point somewhere in order to be able to use the variables window

Additional context

I have seen this behaviour in the last two or three versions I tried.

After you double click and see contents of the Array it behaves ok and only one clik is needed to open and close it.

Would you like to work on the issue?

I can't work on the issue

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 issue in the Processing IDE debugger with the provided String array sketch on macOS. Trace the PDE debugger's variables-window handling for collapsed arrays; done means a single click consistently expands and collapses the array contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.