LWJGLX / debug

Debugging LWJGL3 OpenGL applications
MIT License
37 stars 7 forks source link

Program stops "randomly" when trace parameter is active #36

Closed seynax closed 1 year ago

seynax commented 1 year ago

Hello,

I am developing a small game engine on my free time, I decided to activate your agent with the "trace" parameter but when I do it the program stops after a while without even arriving at launch from the engine loop it stops at a random GLFW function and when I remove it it stops at the one before etc.

Without this parameter everything works flawlessly without memory leaks, freezes, lags, crashes, errors, etc. Shouldn't this parameter make it possible to obtain a lot of information throughout the program, from the initialization, to the stop, passing through the loop?

Did you have an idea?

I am at your disposal to provide all the necessary information.

Good day !

seynax commented 1 year ago

I forgot to specify that I recompiled the agent under java 19. I will try to recompile my program in an older java to use the base agent. I'll keep you informed.

seynax commented 1 year ago

It is indeed related to the compilation with java 19, I feel a bit stupid for not having been able to test the sound before. Do you have any idea, hint or sensitive code that could be causing this recompilation issue in Java 19? Any information letting me know where to start to complete the porting of the agent to java 19 will be a real pleasure!

What is surprising is that the test code provided with the agent works with the recompiled version.

Thanks in advance.