Here’s list of useful Zen Cart breakpoints found in includes/auto_loaders/config.core.php:

  • breakpoint [0]:
    • $zco_notifier is created
  • breakpoing [10]:
    • database connection is made
    • $db object is created (You can access database now)
  • breakpoint [40]:
    • configuration table is read
    • configuration constants are defined
  • breakpoint [70]:
    • sessions are initiated
  • breakpoint [80]:
    • $shoppingCart is created
    • $navigation is created
  • breakpoint [90]:
    • $currencies is created (but init_currencies are not yet executed until breakpoing 120!)
  • breakpoint [110]:
    • init_languages script is executed
  • breakpoint [120]:
    • $messageStack is created
    • init_currencies is executed

What’s that for? If You use breakpoint system to init Your own script (if You’re a Zen Cart developer You most probably are) You have to make sure that You don’t use for example $messageStack before it’s created. So calling $messageStack at breakpoint level 40 has no sense.