#How to enable Java debugging symbols (mappings) in production builds?

26 messages · Page 1 of 1 (latest)

sage torrent
#

Uhh i need (Yarn) mappings to be visible in heapdumps and other pieces of software for debugging, how i can do that?

#

How to enable Java debugging symbols (mappings) in production builds?

patent kernel
#

I think linkie lets you translate whole stacktraces if that helps

#

Other than that yarn is not a thing in production

sage torrent
#

stack deobfucator is just translating stacktraces to something more readable

#

im helping a mod developer
would be nice to have it in production builds, so i don't have to setup the devlaunch

patent kernel
#

In what way is it not clear then in prod? Fabric loader uses intermediary in prod and I dont think you can *easily change that

sage torrent
#

Im not a minecraft modding guy, so i think anything else than mojang mappings would be good for us

patent kernel
#

Sorry, I am just not understanding what the problem is, so far I got that you just want to read stacktraces and intermediary stuff from production?

#

That is normally solved with linkie

sage torrent
patent kernel
#

Neoforge is different though, it uses mojmaps in production so there is no intermediary

sage torrent
patent kernel
sage torrent
#

well asking a program what the member is a pain

patent kernel
#

No, use the stacktrace translate to translate a lot at a time

sage torrent
#

we are investigating memory leaks

patent kernel
#

You can put other stuff in the stacktrace page in linkie

#

Just paste it there

sage torrent
#

pain
i just asking can i have heapdumps being deobfucated

#

thats all

cosmic apex
#

At runtime? no

sage torrent
#

the developing doing the job himself

cosmic apex
#

You can copy-paste your heapdump into a remapper such as the one at https://linkie.shedaniel.dev/mappings. You cannot have the heapdump automatically remapped at the time it is created.

#

Despite it saying "stacktrace" you can paste whatever you want in there and it will attempt to remap it to your chosen namespace. This, presumably, includes heapdumps