It has happened to me. It is pretty random when it occurs, but I have experienced eclipse hanging on a save for a .clp file. When I restart eclipse, the changes were saved so it is more of a annoyance.
Scott L. Krasnigor Sr. Principal Engineer/Scientist Advanced Sciences & Technologies, LLC. Lockheed Martin - MS2 ' 856-359-3094 * [EMAIL PROTECTED] * 780-3 ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Morris Sent: Tuesday, May 22, 2007 4:49 AM To: jess-users@sandia.gov Subject: JESS: trying to save a bad CLP file crashes JessDE Hi Ernest, When I try to save a CLP file that is in a "bad" state (not parsing correctly) JessDE has a pesky propensity to lockup and take down Eclipse (on my box admittedly) in both 3.2 and 3.2.2 versions. Version 3.2.2 was worse. I'm 99% sure it's not the code itself that's doing it. Take any valid CLP file of moderate size, whack a ")" or two out, let the parser gag, then try to save and see what happens. I would expect JessDE to have the same behavior as Eclipse when editing a "bad" java file -- it's not a problem to save it in that state. Now before you say, "Uh, fix the bug first and THEN save" let me say that one of the habits that I've gotten into is to immediately hit Ctrl+S (Save) whenever: a) I stop coding to take a break or reflect. b) Something unexpected happens in my code while coding. c) Any other error happens that doesn't crash the IDE I'm using at the time. This habit has saved me thousands of lines of code, so I'm reluctant to change it. :-) This brings up a few things: 1) Has this happened to anyone else? Can anyone reproduce this "phenomenon"? (I'll give Ernest the benefit of the doubt, of course). 2) Is there a practical size limit to a CLP file beyond which one should, as a best practice, break it into smaller files (i.e, by modules)? 3) Is there a way (or should there be if not) to suspend JessDE parsing and treat it more like validation which you can toggle on and off? Cheers, Jason ----------------------------------------------------------- Jason C. Morris Worcester Polytechnic Institute Phone: (508) 831-5006 Department of Computer Science FAX: (508) 831-5776 Fuller Laboratories - Room 312 [EMAIL PROTECTED] Artificial Intelligence Lab (AIRG) 100 Institute Road Worcester, MA 01609-2280 -----------------------------------------------------------