Nasal library/debug: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (nocat)
(Start attributes())
Line 5: Line 5:
== Functions ==
== Functions ==
=== attributes() ===
=== attributes() ===
{{Nasal doc
|syntax = debug.attributes(p[, verbose[, color]]);
|text =
|param1 = p
|param1text =
|param2 = verbose
|param2text =
|param3 = color
|param3text =
|example1 =
}}
=== backtrace() ===
=== backtrace() ===
=== bt() ===
=== bt() ===

Revision as of 19:41, 13 November 2016

WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

This page contains documentation for the debug namespace in Nasal. This namespace provides various useful APIs for debugging Nasal code. The debug namespace is sourced from fgdata/Nasal/debug.nas.

Functions

attributes()

debug.attributes(p[, verbose[, color]]);
p
verbose
color

backtrace()

bt()

benchmark()

benchmark_time()

dump()

isnan()

local()

print_rank()

printerror()

propify()

proptrace()

rank()

string()

tree()

warn()