Skip to content

Instantly share code, notes, and snippets.

@maxandersen
Created February 23, 2023 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxandersen/e1e9b6de0b726b9f7c7ccd4c3a90f817 to your computer and use it in GitHub Desktop.
Save maxandersen/e1e9b6de0b726b9f7c7ccd4c3a90f817 to your computer and use it in GitHub Desktop.
RULE trace main entry
CLASS AppMain
METHOD main
AT ENTRY
IF true
DO traceln("entering main")
ENDRULE
RULE trace main exit
CLASS AppMain
METHOD main
AT EXIT
IF true
DO traceln("exiting main")
ENDRULE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment