Custom Stack Tracer is intended to be used during development only, logic and code behind Custom Stack Tracer could be quite messy, but it does it's job during development
Add stack_trace.cfg
to project root with file content of
Add following code between after begin
and before end
, replace string with your own identifier, for example the function/procedure name
FeliStackTracer.trace('begin', string);
// Your code
FeliStackTracer.trace('end', string);
Reset FeliStackTracer before use with
FeliStackTracer.reset();
put this after the main begin
begin
FeliStackTracer.reset();
// Your code
end.
Note:
begin
should follow withend
FeliStackTracer.breakPoint();
FeliStackTracer.reset();
FeliStackTracer.trace(kind: string; name: string);
FeliStackTracer.logger.debug(string);
FeliStackTracer.logger.log(string);
FeliStackTracer.logger.error(string);
FeliStackTracer.logger.warn(string);
FeliStackTracer.logger.info(string);
FeliStackTracer.logger.success(string);
Licensed under the MIT License