HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
547 stars 44 forks source link

Lombok causes inconvenience to debug when used in library #222

Closed bumfo closed 2 years ago

bumfo commented 2 years ago

As per https://github.com/mplushnikov/lombok-intellij-plugin/issues/438 Lombok nullified an important function of Intellij IDEA that can show library code directly from user side, which is vitally important when debugging. However, while usage of Lombok has little benefit for libraries, it causes inconvenience because users can no longer look at the source code to see what functions it has, and can no longer precisely locate function call stack in source code while debugging.

dzaima commented 2 years ago

previous discussion; as a result of that, the current -sources.jar files should provide accurate line numbers for stacktrace & source comparison. (IntelliJ does show errors for the lombok sources (maybe the plugin would fix that? idk), but code navigation works just fine)

tonsky commented 2 years ago

@bumfo does it solve it for you?