Community
Participate
Working Groups
After bug 378176 has brought HCR for plain OT/J applications, we want the same functionality for debugging OT/Equinox bundles, too. However, in that case we don't yet have an agent to hook into. It seems we need to add such an agent (just for the debugging case), which entails different command line args for debug launches etc.
The core implementation has been released via 77cb8e7bc8313aea7c901f6da62ec0443cb246c6. I still want to integrate this with the UI as to automatically insert the -javaagent argument into the debugging command line.
One note on the implementation in commit 77cb8e7bc8313aea7c901f6da62ec0443cb246c6: The layers of transformers were mixing dot based and slash-based names. With the patch we have this: - the agent expects slash-based names and feeds dot-based names into the class loading hook - TransformerHook operates with dot-based names and feeds slash-based names into the ObjectTeamsTransformer As a side-effect jplis_dump files are now always stored in directories (used to happen only for OT/J not OT/Equinox).
Released for 2.1 M7 IDE level fix is in a678c3a8f59cccb3e9cdc55a34933b1ae114e63d: - we know automatically pass the appropriate -javaagent to all OT/Equinox debug launches. Did a bit of re-structuring to easily access the agent jar via the OTDT_INSTALL variable.
Verified through use in day-to-day work.