cancel
Showing results for 
Search instead for 
Did you mean: 

preferred debugging method?

qzy
Champ in-the-making
Champ in-the-making
Hi there,


is there a best practice on debugging applications which make use of activiti? For example what's the easiest way to make distinction between problems in the workflow and possible problems in the beans' implementation appearing in the flow?
Is there some easy way to trace/debug the workflow?



TIA,
Balint
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
First of all, you have traditional logging, just put the log level low enough and you'll see Activiti spit out MB's of debug information.

Secondly, since Activiti is just a jar, you can debug as you are used to: for example on Tomcat, enable the remote debugging port and attach an Eclipse listener.
Debugging Activiti processes is with other words exactly the same as debugging Java code.

qzy
Champ in-the-making
Champ in-the-making
Good news, thanks Joram.

Though still thinking of some sort of workflow profile visualization (probably based on log messages…).


Cheers,
Balint

jbarrez
Star Contributor
Star Contributor
Having all the log messages should give you indeed a way of visualizing what happened in the history. This can also be acomplished using the history data in the Activiti tables.