macchina-io / macchina.io

macchina.io EDGE is a powerful C++ and JavaScript SDK for edge devices, multi-service IoT gateways and connected embedded systems.
https://macchina.io
GNU General Public License v3.0
512 stars 152 forks source link

Is any method to print backtrace while macchina crash? #115

Open stanley0827 opened 1 year ago

stanley0827 commented 1 year ago

Expected Behavior

Is any method to print backtrace while macchina crash? We found stack_trace_posix.cc in machcina code base but cannot print any backtrace while machina crash. Or we need to build debug build with macchina?

Actual Behavior

Only can see below pattern but no detail backtrace.

==== C stack trace ===============================

[end of stack trace]

Steps to Reproduce

(please make this a SSCCE, if applicable and reasonable)

macchina.io Version

2020.1.

Compiler and Version

Operating System and Version

Other Relevant Information