Nuero4j Studio- Debug Plugin.
PDF version available online at http://static.neuro4j.org/download/doc/studio/StudioDebugPlugin.pdf
This guide describes how to use Debug Plugin for Neuro4j Flows .
Online html version available at http://neuro4j.org/docs/wf/flowdebugtool
Neuro4j Flow Debug Tool is eclipse plugin which allows the developer to track the execution of a flow step-by-step in Neuro4j Studio in order to locate errors precisely.
Using the Debug Tool, developers can easily check the storefront behavior of flows or monitor the status of the flow context at each step using a special view.
Neuro4j Debug Tool is part of Neuro4j Studio (from version 0.8.9)and can be downloaded from Download Page or installed using update site.
1) Setup and Run container (ex. Tomcat) in debug mode:
a. In file catalina.*
set JPDA_OPTS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n
2) Click Debug Configuration...
3) Select Remote Neuro4j Flows and click New
4) Set up port and host. Click debug.
5) Switch to "Neuro4j Flow Debug"" perspective;
Neuro4j Flow Debug perspective provides following views
This view displays Call Node's stacks. In this case flow UserAccounts calls CreateAccount.
This view displays all objects in Context.
View displays list of all breakpoints.
Developer can remove breakpoint using right-click.
Breakpoint can be added by right-click on node in editor.
If library is not in classpath developer will receive error message like:
Green bar indicates what node has breakpoint.
Breakpoint can be removed:
1) Using right-click;
2) Using Flow Breakpoints View
When you launch your flow application for debugging, Studio switches to the Flow Debug perspective automatically.
Red rectangle around node indicates place where Processor was suspended.
To resume execution click or F8 key, execution will be suspended at next breakpoint.
To make <Step Over> press F6 , Processor will suspend execution at next Node.