문제

I am trying to implement a new filter for Weka. I would like to know, what should i do to be able to debug weka, so that I can see what's wrong with my code, since when I try to run the filter in weka I am getting exceptions. Currently I am using

JOptionPane.showMessageDialog(null, ...);

to print the values of variables, to try and find the problem, however I am wasting a lot of time generating jar files, coping them to the correct location, restarting weka etc... etc...

thanks in advance for your help.

도움이 되었습니까?

해결책

What's wrong with using any of the usual Java debuggers? You can run Weka from Eclipse, or you can launch it with the usual debugger attach arguments and then attach to it from Eclipse.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top