eclipse-jdt / eclipse-jdt/eclipse.jdt.debug
error(s)_during_the_evaluation when using canonical type syntax for 3D matrix
- Dominant language
- Java
- Stars
- 23
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Description
declare:
private Matter[][][] board;
watch board[x][y]:
The type of the expression must be an array type but it resolved to Matter //Which is false
now declare:
private Matter board[][][];
Now no errors!
Version: 2024-06 (4.32.0)
Tried with a fresh eclipse install to exclude plugins - same issue.
Tried with Intellij -> no errors, both canonical and C-style work fine.
Aditional info: Matter[][][] has different types of objects inherited from Matter (eg.: House, Road) and it also contains nulls, but IIRC this is reproducible with simple ints.
if you need the code:
https://gitlab.com/strategy_game/Bitula/-/blob/main/src/dev/bitula/game/board/Board.java?ref_type=heads
---------------------------------------------------------------------------
Btw, I think I found somewhere a forum describing same error for VSCode. Is VSCode using same debugger, or just a coincidence?
Contributor guide
Assessment
This issue has not been assessed yet.