Debugging XJEase Tests

XJDeveloper contains several features to help you debug tests. You can step through XJEase code, visualising what it does so that you can verify the test is operating correctly and understand the behaviour of your circuit.

As an IDE, XJDeveloper provides a code debugger, the XJEase Debugger. Also available is the XJEase Waveform View which allows you to see, graphically, the effects of the code on the device being tested.

XJEase Debugger

XJDeveloper contains an interactive debugger which can be used to step through XJEase code while it is running.

The debugger is enabled if at least one breakpoint has been set. Clicking the Run button or pressing F5 on the Run Tests screen will run code, pausing when execution reaches any line with a breakpoint set.

Tests can be run with the debugger disabled via the Run Tests Menu, by holding down Shift when clicking Run or by pressing Shift + F5.

The Call Stack window shows the XJEase call stack for the current line of execution. The XJEase Watch window can be used to view and edit the values of XJEase variables for the current call stack frame.

XJEase Waveform View

The XJEase Waveform View allows you to capture data from a running test. It can be used to step through code with the XJEase Debugger whilst capturing and displaying data. The data is displayed in a style similar to a logic analyser and can then be compared to timing diagrams to see if the test behaved as expected.