HeroEngine Forums

HeroEngine Support => Scripting & Programming => Topic started by: HE-Cooper on Sep 16, 11, 12:51:09 PM

Title: Debugging HSL
Post by: HE-Cooper on Sep 16, 11, 12:51:09 PM
There might be some out of date stuff here, we haven't vetted it recently, so please let us know if you find anything that doesn't make sense or needs updating.

http://wiki.heroengine.com/wiki/HSL_FAQ (http://wiki.heroengine.com/wiki/HSL_FAQ)
Title: Re: Debugging HSL
Post by: HE-Cooper on Jul 24, 12, 08:40:24 AM
Here's a nice summary from HE-Scott about debugging HSL:

Debugging various systems in HSL is a mixture of using println statements in your code, the gui analysis tool, the debug system http://wiki.heroengine.com/wiki/$DEBUG to log events, and cli commands http://wiki.heroengine.com/wiki/Cli to gather information about things related to the server/client gom and dom. When using the CLI the most common commands for pure debugging are sn(show node) and qn(query nodes) to help you identify what nodes are loaded currently in the server or client gom. http://wiki.heroengine.com/wiki/Debug details and expands on some of the topics mentioned and goes over some best practices when debugging HSL.