Also, for simple "stop when this statement is reached" kinds of debugging, I have resorted to creating a userfunction called, not surprisingly, (breakpoint).
In this userfunction, I set a breakpoint in the java call() method and anywhere it is encountered in the jess script, it stops in my java debugger. You can look at the jess Context etc. from there. It is embarrassingly crude but when you are *really* desperate it can help. alan -----Original Message----- From: James Owen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 8:08 PM To: [EMAIL PROTECTED] Subject: RE: JESS: more effecient jess debuging Question: Will jdb or some of the other shareware (freeware) debugging tools work with Jess. I haven't tried them yet but I know that there are some that will work with other rulebased systems out there. Just wondered if anyone else had tried any of these. SDG jco James C. Owen Senior Knowledgebase Consultant 6314 Kelly Circle Garland, TX 75044 972.530.2895 214.684.5272 (cell) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Crumley Sent: Thursday, May 29, 2003 6:30 PM To: [EMAIL PROTECTED] Subject: JESS: more effecient jess debuging I have recently inherited a bit of code that is pretty complex. So far watch-all has not been able to help me find the problems I am tracking down. Can anyone suggest other debug methods for jess rulesets? watch-all will tell me what rules fire, but more importantly I am looking for why a rule didnt fire. I examinted the facts that a particular rule was matching against and went through all the guards and they look like they should work but the rule doesn't seem to be firing. Adding (printout t 'message' crlf) after each rule also didnt yeild any results (atleast it didnt result in any messages in the output file I am redirecting 't' to). Are there any other methods you have used to debug a rule? Thanks, ryan -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] -------------------------------------------------------------------- -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------