I will as soon as I solve another issue I am having ... my code broke after tried to use either the release jar file or the current svn code.
I will open another thread with the specific issue, Thanks, -nestor --- Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 11/1/06, Nestor Urquiza <[EMAIL PROTECTED]> > wrote: > > Hi guys, > > > > I am using a custom log library for my Bridge and > > System layers. > > > > When I want to log transitions and onentry/onexit > > events I can do it thru the SCXMLListener > > implementation. > > > > However for var assignments and evaluations I > would > > like to know the easier way to log them. > > > > Right now with more than 2000 lines of scxml I > really > > need to trace every single assignment within the > code. > > > > Also does anyone know about a plan to build an > SCXML > > debugger? Now that I have all the Controller logic > > written in SCXML I really need that and before > > writting any code I would like to hear some > advice. > > > <snip/> > > The easiest way would be to add logging statements > in > > org.apache.commons.scxml.model.Var#execute(...) > > and > > org.apache.commons.scxml.model.Assign#execute(...) > > right at the point where any Context operation -- > such as > Context#set(...) -- is called. That way, it could > simply be turned > on/off with the JCL configuration. Should be useful > as long as the log > level is correct (probably, trace would be > appropriate). > > If you do this for yourself, can you please submit a > patch (svn diff)? > > -Rahul > > > > Thanks, > > > > -Nestor > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates (http://voice.yahoo.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
