processing / processing/processing4

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

Aperta
#1,116 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug
Lingua principale
Java
Stelle
494
Fork
183
Merge medio
4h 39m
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il problema nel debugger di Processing IDE su macOS con lo sketch dell'array String fornito. Traccia la gestione degli array compressi nella finestra delle variabili del debugger PDE; il lavoro è completato quando un singolo clic espande e comprime in modo coerente il contenuto dell'array.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
desktop, devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.