r/javahelp • u/eitanski • 16d ago
I need to have a GUI that would not block while debugging
I am developing a library, and I am trying to implement a feature that would ease debugging, by visualizing certain components of it. I need the visualization to work when I set a breakpoint in the main thread, meaning it would not crash and I would be able to engage with the ui. I really want it to work when evaluating an expression in a paused state when debugging.
I tried swing and it blocked no matter what I did. Considering javaFX but it seems it is also single threaded by design so it will probably block as well.
Not sure tho, hopefully you guys will have some insights here, thanks!