Skip to main content

Debugging Generated Code

One of the major benefits of TeaQL is that the core execution layer generates human-readable Java code. This means you can easily step through the code during debugging.

How to Step Through

  1. Set a breakpoint in your application service where the TeaQL query or mutation is invoked.
  2. Step into (F7 in most IDEs) the generated execute() or save() methods.
  3. The generated Q-objects and M-objects are standard Java classes with no hidden reflection magic. You can see exactly how the parameters are set and how the context is passed.