News for hackers. Stuff that matters.
Re:Seer: A GUI front end to GDB for Linux by coldtea on Friday November 15, 2024 @04:33PM (#42151377)
>jackson's object mapper can easily get stuck or deserialise something incorrectly if the class hasn't been annotated correctly.

Why should they be deserialized as JSON?

Re:Seer: A GUI front end to GDB for Linux by miningape on Friday November 15, 2024 @07:22PM (#42152935)
They don't have to be, but if I just want to quickly log an object to inspect it I'd rather not have to chain together a bunch of gets and prints.
Re:Seer: A GUI front end to GDB for Linux by coldtea on Saturday November 16, 2024 @08:43AM (#42156356)
The Java language should provide an internal serialization of its structures for debug purposes capable of handling nested objects and scalars of any type ... (something like Serializable, but meant for readability, not re-loading the result and also Objects and primitives should get it automatically without declaring it).

Neither JSON should be needed, not chaining together gets and prints.

I guess one can do it with some reflection...