[kepler-dev] debuging in actor development

Edward A. Lee eal at eecs.berkeley.edu
Wed Aug 29 05:09:06 PDT 2007


Sure, if you look in many of the actors, they have lines like:

   if (_debugging) {
      _debug("My debug message here.");
   }

Then you can right click on the actor and select "Listen to Actor"
(at least in Ptolemy II... I assume the menu option is available in Kepler).

Edward

At 12:00 AM 8/29/2007, [BE] Ufuk Utku Turuncoglu wrote:
>Hi,
>
>I just wonder that is it possible to redirect the print statement to an 
>display (such as to "Listen Director"). I mean, i need to put some print 
>statement into my code to see the results of key variables. When i run 
>the workflow using java interface i could not see the output of the 
>print statement. What kind of debuging options exist in kepler?
>
>Best wishes
>
>Ufuk Utku Turuncoglu
>ITU, HPC
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

------------ 
Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  



More information about the Kepler-dev mailing list