Log in to follow, share, and participate in this community.
Thread Using Byteman to micro-benmark my app
Using Byteman to micro-benmark my appHello, 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...
Thread Cannot use Byteman's keywords for Java class and property name
Cannot use Byteman's keywords for Java class and property nameHi, 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...
BMRule and multiple bindsHi, I am using some BMRules : @BMRules(rules = { @BMRule(name = "create countDown for SomeOtherObject", targetClass = "SomeOtherObject", ...
RICHFACE TREE NODEI 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>.
Use of generics in helper class methodsHi, 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...
Function returning arrayHi 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...
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...
Thread Injecting code into JVM classes using Byteman 1.0.3 and Java 5 JVM
Injecting code into JVM classes using Byteman 1.0.3 and Java 5 JVMHello, 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....
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...
Many byteman run in the same deviceHi, 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 ...
Broken links in Documentation pageHi, 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
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 ...
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; &...
Use Byteman to debug an RCP applicationI'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?
Thread Submit#listAllRules returns wrong method name
Submit#listAllRules returns wrong method nameHi I found that Submit#listAllRules returns method names with missing the last character. For example, the trigger method name in the result of bmsubmit.sh shoud be " test.Target.doSomething(java.lang.String)...
Basic configurationI am new to Byteman and I am trying to configure it to do some fault injection in my application. I have a question about how to do it in a way that i can inject the faults during runtime. I would like...