-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Byteman Extension #2263
Comments
+1. Making debugging the native images in Quarkus easier than elsewhere would be a very unique feature |
+1. Interesting to debug and add dynamic traces. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you! |
Still would be a nice feature to have |
@johnaohara this issue mentions native part. What about JVM mode? I guess it should be as easy as with any Java application. |
@rsvoboda JVM mode continues to function in the same way as using Byteman with a JVM right now, so it is possible to include the Byteman JVM agent, and load/unload rules into a running application. The native binary is a bit more complicated but possible. The byteman agent and rules need to be used in the JVM that is bootstrapped and used to generate a native image. As the native image generation tool serializes the heap and compiles bytecode after the JVM has bootstrapped, any bytecode that has been modified by Byteman is also compiled and "baked" into the native image. The other complication is that any Byteman helpers need to be registered so that they do not get DCE'd |
That's one way for sure. I'm also considering Byteman as very nice tool for fault injection testing (BMUnit stuff) JVM mode - I assume it work out of the box ;) |
I'm starting to think that guide or blog post around Quarkus and Byteman could attract some people, Byteman is nice added value. |
@johnaohara what exactly do you have in mind with regards to this issue? |
@johnaohara Do you still on this issue and I just think it is possible to integrate it with Quarkus test-framework? |
Create extension to allow injecting byteman rules in to native binary
The text was updated successfully, but these errors were encountered: