Skip to content

"Save Value to File" if > 100kB broken #9452

Description

@rudolphi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)debuggerkind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions