http://pastebin.com/9X8CxJVk
OSX 10.10.1 (14B25)
YK version 2014 build 14114
App runs under
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
YK runs under
Java(TM) SE Runtime Environment (build 1.8.0-b132)
I attach a trigger to a method that is called, but trigger is not executed.
I have a simple class with a simple method that is run when I click a button.
I added a trigger via the UI then exported it into ~/.yjp/triggers.txt
Code: Select all
cat ~/.yjp/triggers.txt
MethodListener methodPattern=cbg.play.Hello:doWork(int,List,String) instanceOf= fillThis=true fillParams=true fillReturnValue=true maxTriggerCount=-1
onenter: PrintMessage message=Method:\s${CLASS}:${METHOD}${PARAM_TYPES}\n\s\sthis:\s${THIS}\n\s\sparams:\n${PARAMS} output=stdout
Code: Select all
protected void doWork(int i, List list, String string) {
System.out.println("start work");
try {
Thread.sleep(5_000);
} catch (InterruptedException e) {}
System.out.println("stop work");
}