apache / apache/netbeans

"Save Value to File" if > 100kB broken

Open
#9,452 1 comment 0 reactions 0 assignees View on GitHub
debugger Java kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 30

### What happened

When inspecting a variable whose string representation is larger than 100 kB in Java debugger, the option to save the variable's content to a file is offered, but only the first 100 kB plus "..." is actually saved to the file, rendering the option useless.

### Language / Project Type / NetBeans Component

Java Debugger Variable

### How to reproduce

Inspect a variable whose string representation is larger than 100 kB in Java debugger, click the "..." of the value column and choose "Save Value to File".

### Did this work correctly in an earlier version?

Apache NetBeans 26 or earlier

### Operating System

Linux Mint 22.3

### JDK

OpenJDK 21

### Apache NetBeans packaging

Community provided installer

### Anything else

Image

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Java debugger: inspect a variable whose string representation exceeds 100 kB and choose “Save Value to File” from the value column. Trace the debugger’s variable-value handling for this action and verify that the saved file contains the complete representation rather than the first 100 kB followed by “...”.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.