• problem using AFTER WRITE on local variable

    I'm having trouble using AFTER WRITE on a local variable.   Here's a snippet of my class (see attached).   public class Foo {    ...         public  voi...
    Profile Photo
    last modified by msulliv1
  • Rule condition causes VerifyError

    Hi, I am having a problem defining a bm script that has the following condition   IF -1 != $e.getMessage().indexOf("timed")   This is the error message   $ bin/bmsubmit.sh ~/java/jboss/byteman/byte...
    Profile Photo
    last modified by whitingjr
  • Unknown local variable WARNING.

    Hi, When using bmcheck on a Byteman script I am seeing two warnings. The script attempts to use a scoped reference to an exception in an expression. Looking at the documentation I don't see exceptions listed in th...
    Profile Photo
    last modified by whitingjr
  • Unexpected exception transforming using bmcheck

    Hi, I am using Byteman to expose counters for particular events in the system my team is using.   I have found the execution of the JMXHelper to work successfully to expose the counter on transformed bytecode...
    Profile Photo
    last modified by whitingjr
  • Using Byteman to micro-benmark my app

    Hello,   I am using Byteman to measure some methods in my project. I needed the Instrumentation object to calculate objects size, but could not find it out from inside Helper class. Looking at HelperManager in...
    Profile Photo
    last modified by nhantran
  • Cannot use Byteman's keywords for Java class and property name

    Hi,   Byteman has some reserved words and you cannot use them for a Java class and property name if you want to set a trigger point on the class or use the property in your rule. This is fine, but the reserved w...
    Profile Photo
    last modified by kuniim
  • BMRule and multiple binds

    Hi, I am using some BMRules :     @BMRules(rules = {       @BMRule(name = "create countDown for SomeOtherObject", targetClass = "SomeOtherObject",      &#...
    Profile Photo
    last modified by abroszni
  • RICHFACE TREE NODE

    I wnat to highlight the tree node in tree view. I ma usin Richface4.0.0. My tree is working fine and I am using <rich:tree> and <rich:treenode>.
    Profile Photo
    last modified by kbnsln
  • Use of generics in helper class methods

    Hi,   I am new to using Byteman and have come across an issue that I can't seem to resolve and can't find any information on.   I've cut out any extra code and just put in the code i'm having difficulty wi...
    Profile Photo
    last modified by andyoverton
  • Function returning array

    Hi everybody,   I am trying to use $! to trace the length of the array that my function is returning. However, I am not able to do it.   - Is it supported (using 1.0.4)   RULE Monitor MO requests CL...
    Profile Photo
    last modified by mitomutant
  • Can byteman restart tomcat remotly?

    Is it possible to restart an application server like tomcat using a byteman remote call?
    Profile Photo
    created by ziuziu
  • Can a Byteman helper throw an Exception?

    Hello,   I'd like to make a rule with byteman 1.6.0 that intercepts all calls to a certain method. It would then do something like:     //doSomething try {   originalObject.doOriginalCall() } catc...
    Profile Photo
    last modified by spennec
  • Injecting code into JVM classes using Byteman 1.0.3 and Java 5 JVM

    Hello,   I try to inject code into JVM classes and unfortuantly I need to do this on a system running Java 5 JVM, so I'm stuck using byteman 1.0.3. However using byteman 1.0.3 I fail to get the result I expect....
    Profile Photo
    last modified by pontus.ullgren
  • Caught ReturnException: Why?

    Hi,   i am trying Byteman to manipultate a method logic   RULE RuleManipulateSomeCustomersInService CLASS CustomerServiceImpl METHOD _getCustomersByName(String) AT ENTRY BIND   service = $0,   cu...
    Profile Photo
    last modified by benjamin-bin-shen
  • Load rules in a remote agent.

    Is it possible to load rules in an agent that is running on a remote server from a local machine?
    Profile Photo
    last modified by ziuziu
  • Many byteman run in the same device

    Hi,   I going to explain what I did and what is my usecase with byteman. Actually I'm using byteman to count how many SQL queries are executed during an unit test. Since my test suite is executed by jenkins, I ...
    Profile Photo
    last modified by alain_defrance
  • Broken links in Documentation page

    Hi, is it just me or the link in the documentation page are not working?   I'm talking about the links to Programmer's guide   Thanks, Davide
    Profile Photo
    last modified by davided80
  • Problem using callerEquals in rule.

    Hi, I have a rule to check the call stack. When it equals a caller in the stack byteman will print a debug message. I am finding the boolean condition callerEquals is not true as expected.   This is my rule ...
    Profile Photo
    last modified by whitingjr
  • Simple field write doesn't work ?

    I have a simple class:   {code} @Test(groups=Global.BYTEMAN,sequential=true) public class BytemanTest extends BMNGRunner {       protected volatile boolean resending;     &...
    Profile Photo
    last modified by belaban
  • Use Byteman to debug an RCP application

    I'm trying to use Byteman to debug an RCP application, but I can't make it work.   I tried adding the arguments to the command line and to an .ini file, with no success.   Has anyone ever tried it before?
    Profile Photo
    last modified by mariomarinato