Additional argument checking.
Generate debug output when returning using TRY() macro.
Return SP_ERR_SUPP from sp_list_ports() on unsupported platforms.