Next: , Previous: Commands, Up: Commands



4.1 The Command backtrace

If you are executing your rules in debug mode or the rules were interrupted by an error, this command shows where rule execution currently stopped. If it stopped in a subrule, all calling rules are also shown. The currently examined rule is marked with a *:

     debug> backtrace
     *2: "dmm.mor", line 1218, rule "deletePOS"
      1: "dmm.mor", line 31, rule "Start"
     debug>

This means, rule execution stopped in frame 2, line 1218 of dmm.mor, in rule deletePOS. This subrule was called from frame 1, line 31 in dmm.mor, in rule Start.