[rules-users] debugging with 3.1M1 IDE?

Anstis, Michael (M.) manstis1 at ford.com
Fri Feb 23 10:12:09 EST 2007


My reply is being held by the list moderator (due to its size).

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Kris Verlaenen
Sent: 23 February 2007 13:13
To: Rules Users List
Subject: Re: [rules-users] debugging with 3.1M1 IDE?

> When I've stopped at a breakpoint in my project the "Working Memory"
and 
> "Agenda" views are empty.
> I've tried with a clean install of Eclipse 3.2.1 and they're still
both 
> empty.
Are you talking about standard java breakpoints in your java code or
rule 
breakpoints? Rule breakpoints should always show the working memory and 
agenda.  When using standard java breakpoints, the views only show
something 
if a WorkingMemory variable has been selected in the variables view.

> ... whereas when creating a project from scratch (i.e. importing
3.1-M1 
> jars manually) the variable names show as "arg0" through "arg1",
> "arg2" etc. I am also shown some additional objects 
> "DefaultKnowledgeHelper" and "DefaultFactHandle". Is this a
consequence of
> ShadowFacts?
Did you change something in the compiler settings so that variable names
are 
preserved in the class files?  The IDE should filter out those
additional 
objects (as they are caused by the way it is implemented and usually not

relevant when debugging) based on their name, but seems like the names
of 
the variables have been reset to defaults.

If possible, could you send me a self-contained eclipse project (you
don't 
have to include drools jar or dependencies of course) that is
experiencing 
these problems and a way to reproduce them? I'll then see what I can do,

because I can't determine the problem based on this explanation alone.

Kris 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list