Patent ID: 11934294
Assignee: SAP SE
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by a processor, perform a method for debugging a rule, the method comprising:
initiating a debug session in response to receiving a debug request indicating a rule;
retrieving an instance of the rule including a rule definition;
compiling the rule so as to generate bytecode of the rule including an embedded breakpoint within the bytecode, wherein a location within the bytecode for embedding the breakpoint is determined automatically using a machine learning algorithm trained with historic rule execution data;
initiating execution of the bytecode; pausing execution of the bytecode based on the breakpoint;
storing an execution state for the bytecode including one or more local variables associated with the bytecode for the debug session; and
resuming execution of the bytecode by retrieving the stored execution state.