Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: show BigDecimal value in variables #7228

Closed
NicolaIsotta opened this issue Apr 2, 2024 · 2 comments · Fixed by #7617
Closed

Debugger: show BigDecimal value in variables #7228

NicolaIsotta opened this issue Apr 2, 2024 · 2 comments · Fixed by #7617
Labels
Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! good first issue Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:feature A feature request UI User Interface

Comments

@NicolaIsotta
Copy link

Description

During debugging, in the "Variables" tab, it would useful to see the BigDecimal value instead of its reference, just like it currently happens for Double or other Number implementations.

Use case/motivation

image

Related issues

No response

Are you willing to submit a pull request?

No

@NicolaIsotta NicolaIsotta added kind:feature A feature request needs:triage Requires attention from one of the committers labels Apr 2, 2024
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) UI User Interface Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! and removed needs:triage Requires attention from one of the committers labels Apr 2, 2024
@NicolaIsotta
Copy link
Author

Workaround found: add a formatter under Tools -> Options -> Java -> Java Debugger -> Variable Formatters
image

@mbien
Copy link
Member

mbien commented May 6, 2024

default formatters would be here:

private static VariablesFormatter[] createDefaultFormatters() {

ShadowOfLies added a commit to ShadowOfLies/netbeans that referenced this issue Jul 28, 2024
@mbien mbien added needs:triage Requires attention from one of the committers and removed needs:triage Requires attention from one of the committers labels Jul 28, 2024
matthiasblaesing added a commit that referenced this issue Aug 4, 2024
[#7228] - Add debugger default variable formatter for BigInteger and BigDecimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! good first issue Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:feature A feature request UI User Interface
Projects
None yet
2 participants