Flavia Rainone wrote:
Is there a way of using AFTER INVOKE with targetLocation?
This is a known issue which was raised and then fixed in Byteman 2.0.0 by James 'Doc' Livingston. If you upgrade to this release you should be able to specify targetLocation="INVOKE foo", targetLocation="AT INVOKE foo" or targetLocation="AFTER INVOKE foo". The preferred format is to include either AT or AFTER as appropriate but we decided to retain the use wihtout AT for backwards compatibility.
Upgrading to 2.0.0 did not work. After some digging, I figured the targetLocation was being added to the script (at BMRunnerUtil), without any separator. My test started working after I added a separator to the script:
Is that correct? Should I create a Jira and submit my commit with a pull request?