简体   繁体   中英

How to Debug Weka?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM